mirror of
https://github.com/transmission/transmission
synced 2024-12-22 15:54:57 +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
|
||||
ExecStart=/usr/bin/transmission-daemon -f --log-error
|
||||
ExecReload=/bin/kill -s HUP $MAINPID
|
||||
NoNewPrivileges=true
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
Loading…
Reference in a new issue