updated directory name, changed configs and systemctl slightly, preparing to make it useable for backups

This commit is contained in:
christian
2021-10-28 22:45:30 +02:00
parent 77a225e360
commit d889ee06ea
12 changed files with 321 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
[Unit]
Description=Creates backups thrice a week
[Service]
Type=simple
User=file_mover
WorkingDirectory=/home/file_mover
ExecStart=/home/file_mover/run_backups.sh
+9
View File
@@ -0,0 +1,9 @@
[Unit]
Description=Creates backups thrice a week
Requires=backups.service
[Timer]
OnCalendar=Mon,Thu,Sat 10:00
[Install]
WantedBy=multi-user.target
+8
View File
@@ -0,0 +1,8 @@
[Unit]
Description=Moves demos from the local machine to remote destinations every 5 minutes
[Service]
Type=simple
User=file_mover
WorkingDirectory=/home/file_mover
ExecStart=/home/file_mover/run_demo_mover.sh
+9
View File
@@ -0,0 +1,9 @@
[Unit]
Description=Moves demos from the local machine to remote destinations every 5 minutes
Requires=demo_mover.service
[Timer]
OnCalendar=*-*-* *:0,5,10,15,20,25,30,35,40,45,50,55
[Install]
WantedBy=multi-user.target