Harden systemd unit file
This commit is contained in:
parent
f945ec7913
commit
46e83bcb68
@ -14,6 +14,16 @@ User=lglass
|
||||
Group=lglass
|
||||
Type=simple
|
||||
Restart=on-failure
|
||||
# service hardening
|
||||
ProtectSystem=strict
|
||||
NoNewPrivileges=yes
|
||||
ProtectControlGroups=yes
|
||||
PrivateTmp=yes
|
||||
PrivateDevices=yes
|
||||
DevicePolicy=closed
|
||||
MemoryDenyWriteExecute=yes
|
||||
ProtectHome=true
|
||||
#
|
||||
ExecStart=/opt/lgregmapper/lgregmapper -b ":11211"
|
||||
|
||||
#########################################################################
|
||||
|
Loading…
x
Reference in New Issue
Block a user