transmission: fix #98904
This commit is contained in:
parent
c54c614000
commit
c48faf07f4
1 changed files with 2 additions and 0 deletions
|
@ -236,6 +236,7 @@ in
|
||||||
# an AppArmor profile is provided to get a confinement based upon paths and rights.
|
# an AppArmor profile is provided to get a confinement based upon paths and rights.
|
||||||
builtins.storeDir
|
builtins.storeDir
|
||||||
"/etc"
|
"/etc"
|
||||||
|
"/run"
|
||||||
] ++
|
] ++
|
||||||
optional (cfg.settings.script-torrent-done-enabled &&
|
optional (cfg.settings.script-torrent-done-enabled &&
|
||||||
cfg.settings.script-torrent-done-filename != "")
|
cfg.settings.script-torrent-done-filename != "")
|
||||||
|
@ -408,6 +409,7 @@ in
|
||||||
#r @{PROC}/@{pid}/environ,
|
#r @{PROC}/@{pid}/environ,
|
||||||
r @{PROC}/@{pid}/mounts,
|
r @{PROC}/@{pid}/mounts,
|
||||||
rwk /tmp/tr_session_id_*,
|
rwk /tmp/tr_session_id_*,
|
||||||
|
r /run/systemd/resolve/stub-resolv.conf,
|
||||||
|
|
||||||
r ${pkgs.openssl.out}/etc/**,
|
r ${pkgs.openssl.out}/etc/**,
|
||||||
r ${config.systemd.services.transmission.environment.CURL_CA_BUNDLE},
|
r ${config.systemd.services.transmission.environment.CURL_CA_BUNDLE},
|
||||||
|
|
Loading…
Reference in a new issue