You've already forked dockerfiles
mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-08-10 22:31:28 +02:00
add btsync.servie
This commit is contained in:
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
|
Reference in New Issue
Block a user