16 lines
331 B
Desktop File
16 lines
331 B
Desktop File
[Unit]
|
|
Description=Bittorrent Sync service for %i
|
|
After=network.target
|
|
|
|
[Service]
|
|
Nice=19
|
|
IOSchedulingClass=idle
|
|
IOSchedulingPriority=7
|
|
User=%i
|
|
ExecStartPre=/opt/btsync/bin/btsync_setup
|
|
ExecStart=/opt/btsync/bin/btsync --config /home/%i/.btsync/btsync.conf --nodaemon
|
|
Restart=on-abort
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|