data: Lockdown systemd service
As detailed in systemd.exec(5).
This commit is contained in:
@@ -7,3 +7,13 @@ BusName=net.hadess.SensorProxy
|
|||||||
ExecStart=@sbindir@/iio-sensor-proxy
|
ExecStart=@sbindir@/iio-sensor-proxy
|
||||||
#Uncomment this to enable debug
|
#Uncomment this to enable debug
|
||||||
#Environment="G_MESSAGES_DEBUG=all"
|
#Environment="G_MESSAGES_DEBUG=all"
|
||||||
|
|
||||||
|
# Lockdown
|
||||||
|
ProtectSystem=true
|
||||||
|
ProtectControlGroups=true
|
||||||
|
ProtectHome=true
|
||||||
|
ProtectKernelModules=true
|
||||||
|
PrivateTmp=true
|
||||||
|
PrivateNetwork=true
|
||||||
|
MemoryDenyWriteExecute=true
|
||||||
|
RestrictRealtime=true
|
||||||
|
Reference in New Issue
Block a user