mirror of https://github.com/deajan/osync
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
353 B
Plaintext
12 lines
353 B
Plaintext
6 years ago
|
[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
|
||
|
ExecStart=/usr/local/bin/osync.sh /etc/osync/%i --on-changes-target --silent
|
||
|
SuccessExitStatus=0 2
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|