2
0
mirror of https://github.com/deajan/osync synced 2024-11-03 15:40:14 +00:00
osync/osync-srv@.service.user

12 lines
346 B
Plaintext
Raw Normal View History

2016-04-06 18:14:41 +00:00
[Unit]
Description=A robust two way (bidirectional) file sync script based on rsync with fault tolerance
After=time-sync.target local-fs.target network-online.target
Wants=network-online.target
[Service]
Type=simple
2017-03-14 20:43:49 +00:00
ExecStart=/usr/local/bin/osync.sh /etc/osync/%i --on-changes --silent
2017-03-14 20:32:48 +00:00
SuccessExitStatus=0 2
2016-04-06 18:14:41 +00:00
[Install]
WantedBy=multi-user.target