mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-10 19:46:22 +00:00
212efc4f52
With the `deluge` user specified in the unit files it ties it to that user and makes it unavailable for re-use by systemd user instance. Remove the user and group from the unit files and put them in a separate `user.conf` file that should be installed as an override file e.g. for deluged.service this would be placed as follows: /etc/systemd/service/deluge.service.d/user.conf Add the systemd files to the tarball for package maintainers. Closes: #2034
19 lines
289 B
Desktop File
19 lines
289 B
Desktop File
[Unit]
|
|
Description=Deluge Bittorrent Client Daemon
|
|
Documentation=man:deluged
|
|
After=network-online.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
UMask=007
|
|
|
|
ExecStart=/usr/bin/deluged -d
|
|
|
|
Restart=on-failure
|
|
|
|
# Time to wait before forcefully stopped.
|
|
TimeoutStopSec=300
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|