chiark / gitweb /
networkd: fix refcounting with UseMTU=yes
[elogind.git] / units / systemd-machined.service.in
index 26bfe0353790f9b3e4a8d61d26bb78a637cd491b..5a890b5b7aba680b3079e42239be4b3568697372 100644 (file)
@@ -14,7 +14,11 @@ After=machine.slice
 
 [Service]
 ExecStart=@rootlibexecdir@/systemd-machined
-Restart=always
-RestartSec=0
 BusName=org.freedesktop.machine1
-CapabilityBoundingSet=CAP_KILL
+CapabilityBoundingSet=CAP_KILL CAP_SYS_PTRACE CAP_SYS_ADMIN CAP_SETGID
+WatchdogSec=1min
+PrivateTmp=yes
+PrivateDevices=yes
+PrivateNetwork=yes
+ProtectSystem=full
+ProtectHome=yes