Füge hardening-Optionen zu system-Service hinzu

This commit is contained in:
phil 2022-12-13 16:47:31 +01:00
parent 8f169507df
commit 08695038f9

View file

@ -14,5 +14,14 @@ ExecStart=/usr/bin/carton exec hypnotoad script/lstu
ExecStop=/usr/bin/carton exec hypnotoad -s script/lstu
ExecReload=/usr/bin/carton exec hypnotoad script/lstu
# Hardening
CapabilityBoundingSet=
PrivateMounts=true
PrivateTmp=true
ProtectControlGroups=true
ProtectHome=true
ProtectSystem=strict
ReadWritePaths=-{{ lstu.path }}
[Install]
WantedBy=multi-user.target