admin-scripts/systemd/system/rsync-backup.service
2024-07-07 20:25:03 -05:00

15 lines
253 B
Desktop File

[Unit]
Description=rsync-backup
AssertFileIsExecutable=/usr/local/bin/rsync-backup
Requires=mnt-backup.mount
After=mnt-backup.mount
[Service]
Type=oneshot
User=root
Group=root
ExecStart=/usr/local/bin/rsync-backup
[Install]
WantedBy=multi-user.target