Clarify in systemd service file comment that security settings are optional.

This commit is contained in:
Dan Helfman 2020-12-09 10:08:07 -08:00
parent 8fde19a7dc
commit 717c90a7d0
1 changed files with 3 additions and 3 deletions

View File

@ -7,9 +7,9 @@ ConditionACPower=true
[Service]
Type=oneshot
# Security settings for systemd running as root
# For more details about this settings check the systemd manuals
# https://www.freedesktop.org/software/systemd/man/systemd.exec.html
# Security settings for systemd running as root, optional but recommended to improve security. You
# can disable individual settings if they cause problems for your use case. For more details, see
# the systemd manual: https://www.freedesktop.org/software/systemd/man/systemd.exec.html
LockPersonality=true
# Certain borgmatic features like Healthchecks integration need MemoryDenyWriteExecute to be off.
# But you can try setting it to "yes" for improved security if you don't use those features.