mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-10 03:25:57 +00:00
2962f7cd2c
Files should be installed into /usr/lib/systemd/user/ Unlike the existing service file, this one configures deluge to run as a desktop session user. The difference between the services files is the use of multi-user.target in system service which does not exist for user services so requires default.target. Including the Slice indicates to the service manager that this is a background service. This can be used to handle OOM situations, or prioritising foreground processes. There's no equivalent for system services. Refs: https://dev.deluge-torrent.org/ticket/2034 Closes: https://github.com/deluge-torrent/deluge/pull/380
17 lines
264 B
Desktop File
17 lines
264 B
Desktop File
[Unit]
|
|
Description=Deluge Bittorrent Client Web Interface
|
|
Documentation=man:deluge-web
|
|
After=deluged.service
|
|
Wants=deluged.service
|
|
|
|
[Service]
|
|
UMask=027
|
|
|
|
ExecStart=/usr/bin/deluge-web -d
|
|
|
|
Restart=on-failure
|
|
Slice=background.slice
|
|
|
|
[Install]
|
|
WantedBy=default.target
|