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

View file

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