]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - units/systemd-logind.service.in
core: write cgroup limits as permilles
[thirdparty/systemd.git] / units / systemd-logind.service.in
index 927f97e94e8c8b0da105c7457d2f1d51da1ca4d3..ef802a4e6f3629478fd22807b6a2d18288288c31 100644 (file)
@@ -22,6 +22,7 @@ After=dbus.socket
 [Service]
 BusName=org.freedesktop.login1
 CapabilityBoundingSet=CAP_SYS_ADMIN CAP_MAC_ADMIN CAP_AUDIT_CONTROL CAP_CHOWN CAP_DAC_READ_SEARCH CAP_DAC_OVERRIDE CAP_FOWNER CAP_SYS_TTY_CONFIG CAP_LINUX_IMMUTABLE
+DeviceAllow=block-* r
 DeviceAllow=char-/dev/console rw
 DeviceAllow=char-drm rw
 DeviceAllow=char-input rw
@@ -54,7 +55,7 @@ StateDirectory=systemd/linger
 SystemCallArchitectures=native
 SystemCallErrorNumber=EPERM
 SystemCallFilter=@system-service
-WatchdogSec=3min
+@SERVICE_WATCHDOG@
 
 # Increase the default a bit in order to allow many simultaneous logins since
 # we keep one fd open per session.