Merge remote-tracking branch 'airsonic/pr/980'

This commit is contained in:
Andrew DeMaria
2019-04-05 21:40:34 -04:00
+5 -1
View File
@@ -24,7 +24,6 @@ Group=airsonic
# See https://www.freedesktop.org/software/systemd/man/systemd.exec.html
# for details
DevicePolicy=closed
MemoryDenyWriteExecute=yes
NoNewPrivileges=yes
PrivateDevices=yes
PrivateTmp=yes
@@ -45,6 +44,11 @@ ProtectSystem=full
#ProtectSystem=strict
#ReadWritePaths=/var/airsonic
# You can uncomment the following line if you're not using the OpenJDK.
# This will prevent processes from having a memory zone that is both writeable
# and executeable, making hacker's lifes a bit harder.
#MemoryDenyWriteExecute=yes
[Install]
WantedBy=multi-user.target