Skip to content

Instantly share code, notes, and snippets.

@emlun
Last active September 23, 2018 00:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save emlun/9129128 to your computer and use it in GitHub Desktop.
Save emlun/9129128 to your computer and use it in GitHub Desktop.
Systemd service definition for user instance of BitTorrent Sync (hopefully systemd 209 compatible)
/usr/lib/systemd/user/btsync.service
------------------------------------
[Unit]
Description=Bittorent Sync service for %u
[Service]
ExecStart=/usr/bin/btsync --config %h/.config/btsync/btsync.conf --nodaemon
Restart=on-abort
[Install]
WantedBy=default.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment