data: Lockdown systemd service

As detailed in systemd.exec(5).
This commit is contained in:
Bastien Nocera
2017-01-05 13:06:37 +01:00
parent b474bf0943
commit 45f9a63885

View File

@@ -7,3 +7,13 @@ BusName=net.hadess.SensorProxy
ExecStart=@sbindir@/iio-sensor-proxy
#Uncomment this to enable debug
#Environment="G_MESSAGES_DEBUG=all"
# Lockdown
ProtectSystem=true
ProtectControlGroups=true
ProtectHome=true
ProtectKernelModules=true
PrivateTmp=true
PrivateNetwork=true
MemoryDenyWriteExecute=true
RestrictRealtime=true