mirror of
https://github.com/deajan/osync
synced 2024-11-15 12:12:56 +00:00
12 lines
325 B
Plaintext
12 lines
325 B
Plaintext
|
[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 --silent
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|