From 5a3625f6cd4e2cb83d237b5e217a47c91b085791 Mon Sep 17 00:00:00 2001 From: Calum Lind Date: Mon, 20 Mar 2017 19:16:50 +0000 Subject: Add systemd service files to packaging dir --- packaging/systemd/deluge-web.service | 17 +++++++++++++++++ packaging/systemd/deluged.service | 19 +++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 packaging/systemd/deluge-web.service create mode 100644 packaging/systemd/deluged.service (limited to 'packaging') diff --git a/packaging/systemd/deluge-web.service b/packaging/systemd/deluge-web.service new file mode 100644 index 000000000..630485363 --- /dev/null +++ b/packaging/systemd/deluge-web.service @@ -0,0 +1,17 @@ +[Unit] +Description=Deluge Bittorrent Client Web Interface +After=network-online.target + +[Service] +Type=simple + +User=deluge +Group=deluge +UMask=027 + +ExecStart=/usr/bin/deluge-web + +Restart=on-failure + +[Install] +WantedBy=multi-user.target diff --git a/packaging/systemd/deluged.service b/packaging/systemd/deluged.service new file mode 100644 index 000000000..7ef2c4a0f --- /dev/null +++ b/packaging/systemd/deluged.service @@ -0,0 +1,19 @@ +[Unit] +Description=Deluge Bittorrent Client Daemon +After=network-online.target + +[Service] +Type=simple +User=deluge +Group=deluge +UMask=007 + +ExecStart=/usr/bin/deluged -d + +Restart=on-failure + +# Configures the time to wait before service is stopped forcefully. +TimeoutStopSec=300 + +[Install] +WantedBy=multi-user.target -- cgit v1.2.3