1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-24 08:52:31 +02:00

add btsync.servie

This commit is contained in:
kev 2016-04-14 12:49:23 +08:00
parent c9a43d22a6
commit d9c2ab7291

14
btsync/btsync.service Normal file
View File

@ -0,0 +1,14 @@
[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