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

15 lines
277 B
SYSTEMD
Raw Normal View History

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