2024-07-07 10:17:47 -05:00
|
|
|
[Unit]
|
|
|
|
Description=rsync-backup
|
|
|
|
AssertFileIsExecutable=/usr/local/bin/rsync-backup
|
2024-07-07 20:25:03 -05:00
|
|
|
Requires=mnt-backup.mount
|
|
|
|
After=mnt-backup.mount
|
2024-07-07 10:17:47 -05:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
|
|
|
User=root
|
|
|
|
Group=root
|
|
|
|
ExecStart=/usr/local/bin/rsync-backup
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|