projects-jenz/map_mover_ovh
2022-10-20 00:37:58 +02:00
..
systemctl initial commit for uploading just maps over a VM to OVH 2022-10-20 00:37:58 +02:00
config_maps.json initial commit for uploading just maps over a VM to OVH 2022-10-20 00:37:58 +02:00
main.py initial commit for uploading just maps over a VM to OVH 2022-10-20 00:37:58 +02:00
README.md initial commit for uploading just maps over a VM to OVH 2022-10-20 00:37:58 +02:00
remote_local_dir.py initial commit for uploading just maps over a VM to OVH 2022-10-20 00:37:58 +02:00
remote_sftp.py initial commit for uploading just maps over a VM to OVH 2022-10-20 00:37:58 +02:00

needs pip3 with virtual environment: pip3 install paramiko

the python3 files are chown root:root, also chmod 700 so only root can access them. The systemctl file also ensures that stdout and stderror are null.

Every 2 mins uploaded maps are moved over to ovh. Also enable and start timer and services.