Changes between Version 13 and Version 14 of UserGuide/Service/systemd
- Timestamp:
- 03/20/2017 08:38:38 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
UserGuide/Service/systemd
v13 v14 47 47 == Deluge Daemon (deluged) Service == 48 48 Create the file `/etc/systemd/system/deluged.service` containing the following: 49 {{{50 [Unit]51 Description=Deluge Bittorrent Client Daemon52 After=network-online.target53 49 54 [Service] 55 Type=simple 56 User=deluge 57 Group=deluge 58 UMask=007 50 [[Include(http://git.deluge-torrent.org/deluge/plain/packaging/systemd/deluged.service?h=develop, text/plain)]] 59 51 60 ExecStart=/usr/bin/deluged -d61 62 Restart=on-failure63 64 # Configures the time to wait before service is stopped forcefully.65 TimeoutStopSec=30066 67 [Install]68 WantedBy=multi-user.target69 }}}70 52 71 53 * You may wish to modify the above `umask` as it applies to any files downloaded by deluged. … … 85 67 86 68 Create the file `/etc/systemd/system/deluge-web.service` containing the following: 87 {{{88 [Unit]89 Description=Deluge Bittorrent Client Web Interface90 After=network-online.target91 69 92 [Service] 93 Type=simple 94 95 User=deluge 96 Group=deluge 97 UMask=027 98 99 ExecStart=/usr/bin/deluge-web 100 101 Restart=on-failure 102 103 [Install] 104 WantedBy=multi-user.target 105 }}} 70 [[Include(http://git.deluge-torrent.org/deluge/plain/packaging/systemd/deluge-web.service?h=develop, text/plain)]] 106 71 107 72 Now enable it to start up on boot, start the service and verify it is running: