forked from pool/rtorrent
Accepting request 932187 from home:jsegitz:branches:systemdhardening:filesharing
Automatic systemd hardening effort by the security team. This has not been tested. For details please see https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort OBS-URL: https://build.opensuse.org/request/show/932187 OBS-URL: https://build.opensuse.org/package/show/filesharing/rtorrent?expand=0&rev=7
This commit is contained in:
parent
9f201f2183
commit
e894f42341
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 16 12:09:53 UTC 2021 - Johannes Segitz <jsegitz@suse.com>
|
||||
|
||||
- Added hardening to systemd service(s) (bsc#1181400). Modified:
|
||||
* rtorrent.service
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 4 14:21:00 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
|
@ -3,6 +3,18 @@ Description=rTorrent daemon
|
||||
Requires=network.target local-fs.target
|
||||
|
||||
[Service]
|
||||
# added automatically, for details please see
|
||||
# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
||||
ProtectSystem=full
|
||||
PrivateDevices=true
|
||||
ProtectHostname=true
|
||||
ProtectClock=true
|
||||
ProtectKernelTunables=true
|
||||
ProtectKernelModules=true
|
||||
ProtectKernelLogs=true
|
||||
ProtectControlGroups=true
|
||||
RestrictRealtime=true
|
||||
# end of automatic additions
|
||||
Type=forking
|
||||
RemainAfterExit=yes
|
||||
KillMode=none
|
||||
|
Loading…
Reference in New Issue
Block a user