Last active
February 26, 2018 20:35
-
-
Save vertig0ne/a41d5396872ef1dbe66a9b0f6d38de3c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Checks for and uploads files in the staging directory | |
Wants=minute-timer.timer | |
AssertPathIsMountPoint=/mnt/media | |
After=unionfs.service | |
[Service] | |
User=vertig0ne | |
Group=vertig0ne | |
Type=simple | |
ExecStart=/home/vertig0ne/.bin/rclone-upload.sh | |
# Please see @Ajki's scripts for rclone-upload.sh. It's his script, you should go to him for it. | |
[Install] | |
WantedBy=minute-timer.target |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Minute Timer | |
[Timer] | |
OnBootSec=5min | |
OnCalendar=*:0/1 | |
Unit=minute-timer.target | |
[Install] | |
WantedBy=basic.target |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Minute Timer Target | |
StopWhenUnneeded=yes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment