mirror of
https://github.com/transmission/transmission
synced 2024-12-23 00:04:06 +00:00
daemon: harden transmission-daemon.service
Systemd 227 introduced the option to make a service disallow elevating privileges.
This commit is contained in:
parent
4a4233feae
commit
d1d060c3a9
1 changed files with 1 additions and 0 deletions
|
@ -7,6 +7,7 @@ User=transmission
|
||||||
Type=notify
|
Type=notify
|
||||||
ExecStart=/usr/bin/transmission-daemon -f --log-error
|
ExecStart=/usr/bin/transmission-daemon -f --log-error
|
||||||
ExecReload=/bin/kill -s HUP $MAINPID
|
ExecReload=/bin/kill -s HUP $MAINPID
|
||||||
|
NoNewPrivileges=true
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
Loading…
Reference in a new issue