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:
parent
c9a43d22a6
commit
d9c2ab7291
14
btsync/btsync.service
Normal file
14
btsync/btsync.service
Normal 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
|
Loading…
Reference in New Issue
Block a user