1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-07-03 00:33:55 +00:00
dockerfiles/btsync/btsync.service

15 lines
328 B
SYSTEMD
Raw Normal View History

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