Skip to content

Instantly share code, notes, and snippets.

@ngobach
Created April 15, 2018 15:43
Show Gist options
  • Save ngobach/4962dc3dda4f4eab3a0ebd7557342cae to your computer and use it in GitHub Desktop.
Save ngobach/4962dc3dda4f4eab3a0ebd7557342cae to your computer and use it in GitHub Desktop.
deluge systemd
[Unit]
Description=Service for deluge web
After=network.service
BindTo=deluged.service
[Service]
WorkingDirectory=/home/thanbaiks
ExecStart=/usr/bin/deluge-web
User=thanbaiks
Restart=on-failure
[Unit]
Description=Deluged daemon in Systemd
After=network.service
Requires=deluge-web.service
[Service]
ExecStart=/usr/bin/deluged
Type=forking
WorkingDirectory=/home/thanbaiks
User=thanbaiks
Restart=on-failure
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment