1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-28 09:08:36 +02:00
dockerfiles/rslsync/rslsync.service
2016-09-20 12:18:01 +08:00

15 lines
314 B
Desktop File

[Unit]
Description=Resilio Sync Daemon
After=network.target
AssertPathExists=/etc/rslsync.conf
AssertPathIsDirectory=/data/.syncsystem
AssertPathIsDirectory=/data/syncaod
[Service]
ExecStart=/usr/bin/rslsync --nodaemon --config /etc/rslsync.conf
Restart=always
RestartSec=10
[Install]
WantedBy=multi-user.target