MINOR: systemd: Add SystemD's SystemCallFilter option to the unit file
This option takes away system calls that are unneeded for haproxy's operation and thus is a good defense in depth measure.
This commit is contained in:
parent
8a9659212e
commit
2788a39c07
|
@ -27,6 +27,8 @@ Type=notify
|
||||||
# ProtectKernelTunables=true
|
# ProtectKernelTunables=true
|
||||||
# ProtectKernelModules=true
|
# ProtectKernelModules=true
|
||||||
# ProtectControlGroups=true
|
# ProtectControlGroups=true
|
||||||
|
# If your SystemD version supports them, you can add: @reboot, @swap, @sync
|
||||||
|
# SystemCallFilter=~@cpu-emulation @keyring @module @obsolete @raw-io
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
Loading…
Reference in New Issue