2013-10-14 18:16:16 +02:00
|
|
|
[Unit]
|
2014-05-26 23:23:05 +01:00
|
|
|
Description=Bittorrent Sync service
|
2013-10-14 18:16:16 +02:00
|
|
|
After=network.target
|
|
|
|
|
2013-09-28 02:56:52 +02:00
|
|
|
[Service]
|
2014-05-26 23:23:05 +01:00
|
|
|
Nice=19
|
|
|
|
IOSchedulingClass=idle
|
|
|
|
IOSchedulingPriority=7
|
2014-05-21 22:43:52 +01:00
|
|
|
User=btsync
|
|
|
|
Group=btsync
|
2014-06-23 22:10:50 +01:00
|
|
|
ExecStartPre=/opt/btsync/bin/btsync_setup
|
|
|
|
ExecStart=/opt/btsync/bin/btsync --config /etc/btsync.conf --nodaemon
|
2013-10-14 18:16:16 +02:00
|
|
|
Restart=on-abort
|
2013-09-28 02:56:52 +02:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|