admin-scripts/systemd/system/rsync-backup.service

15 lines
253 B
SYSTEMD
Raw Normal View History

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