2
0
mirror of https://github.com/deajan/osync synced 2024-11-15 12:12:56 +00:00
osync/osync-srv@.service
2017-03-14 21:43:49 +01:00

14 lines
402 B
Desktop File

[Unit]
Description=osync - a robust two way (bidirectional) file sync script based on rsync with fault tolerance
After=time-sync.target local-fs.target network-online.target
Requires=time-sync.target local-fs.target
Wants=network-online.target
[Service]
Type=simple
ExecStart=/usr/local/bin/osync.sh /etc/osync/%i --on-changes --errors-only
SuccessExitStatus=0 2
[Install]
WantedBy=multi-user.target