1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-27 02:09:06 +02:00
dockerfiles/btsync/btsync.service
2016-04-14 12:49:23 +08:00

15 lines
328 B
Desktop File

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