Added option users can comment out to increase security

This commit is contained in:
Daniel Perna 2018-08-23 20:35:01 +02:00
parent 27351880e2
commit 4d95ddad4c

View file

@ -5,6 +5,18 @@ After=network.target
[Service]
Type=simple
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
# Environment=HC_LISTENIP=0.0.0.0
# Environment=HC_PORT=3218