Füge hardening-Optionen zu system-Service hinzu
This commit is contained in:
parent
8f169507df
commit
08695038f9
1 changed files with 9 additions and 0 deletions
|
@ -14,5 +14,14 @@ ExecStart=/usr/bin/carton exec hypnotoad script/lstu
|
||||||
ExecStop=/usr/bin/carton exec hypnotoad -s script/lstu
|
ExecStop=/usr/bin/carton exec hypnotoad -s script/lstu
|
||||||
ExecReload=/usr/bin/carton exec hypnotoad 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]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
Loading…
Reference in a new issue