1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-30 18:51:24 +00:00
dockerfiles/btsync/btsync.service
2016-04-14 12:49:23 +08:00

15 lines
328 B
Desktop File

[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