1
0
Fork 0
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:
Jelle van der Waa 2018-12-28 22:23:33 +01:00
parent 4a4233feae
commit d1d060c3a9

View file

@ -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