mirror of
https://github.com/transmission/transmission
synced 2024-12-22 07:42:37 +00:00
fir scripts, document usage of systemd overrides rather than changing /lib files (#6800)
This commit is contained in:
parent
e8a72d9c5d
commit
adc405e5be
1 changed files with 14 additions and 1 deletions
|
@ -46,4 +46,17 @@ Scripts which have not yet been ported and may not work with the latest version:
|
|||
* https://github.com/jaboto/Transmission-script - (cron)script set network limits according to the number of clients in the network
|
||||
|
||||
## Security with systemd
|
||||
`transmission-daemon`'s packaging has many permissions disabled as a standard safety measure. If your script needs more permissions than are provided by the default, users have [reported](https://github.com/transmission/transmission/issues/1951) that it can be resolved by changing to `NoNewPrivileges=false` in `/lib/systemd/system/transmission-daemon.service`.
|
||||
`transmission-daemon`'s packaging has many permissions disabled as a standard safety measure. If your script needs more permissions than are provided by the default, users have [reported](https://github.com/transmission/transmission/issues/1951) that it can be resolved by changing to `NoNewPrivileges=false` using a systemd unit override.
|
||||
|
||||
```
|
||||
$ sudo systemctl edit transmission-daemon.service
|
||||
```
|
||||
|
||||
and add the following content to the override:
|
||||
|
||||
```
|
||||
[Service]
|
||||
NoNewPrivileges=false
|
||||
```
|
||||
|
||||
and that override will be kept untouched by package upgrades.
|
||||
|
|
Loading…
Reference in a new issue