Added option users can comment out to increase security
This commit is contained in:
parent
27351880e2
commit
4d95ddad4c
1 changed files with 12 additions and 0 deletions
|
@ -5,6 +5,18 @@ After=network.target
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
User=homeassistant
|
User=homeassistant
|
||||||
|
# Some security related options.
|
||||||
|
# See https://www.freedesktop.org/software/systemd/man/systemd.exec.html for details.
|
||||||
|
# NoNewPrivileges=true
|
||||||
|
# ProtectSystem=true
|
||||||
|
# InaccessiblePaths=-/mnt -/media
|
||||||
|
# ReadOnlyPaths=/bin -/lib -/lib64 -/sbin
|
||||||
|
# PrivateTmp=true
|
||||||
|
# ProtectKernelTunables=true
|
||||||
|
# ProtectKernelModules=true
|
||||||
|
# ProtectControlGroups=true
|
||||||
|
# RestrictRealtime=true
|
||||||
|
|
||||||
# Set configuration options by specifying environment variables
|
# Set configuration options by specifying environment variables
|
||||||
# Environment=HC_LISTENIP=0.0.0.0
|
# Environment=HC_LISTENIP=0.0.0.0
|
||||||
# Environment=HC_PORT=3218
|
# Environment=HC_PORT=3218
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue