1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-16 11:37:32 +02:00
dockerfiles/btsync/btsync.service

15 lines
328 B
SYSTEMD
Raw Normal View History

2016-04-14 06:49:23 +02:00
[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