✏️ 编辑:upower.service
路径:
/usr/lib/systemd/system/upower.service
大小:994 B · 修改:2022-02-11 07:06:30 · 权限:0644 · 只读(保存会失败)
← 返回目录
👁 查看
⬇ 下载
[Unit] Description=Daemon for power management Documentation=man:upowerd(8) [Service] Type=dbus BusName=org.freedesktop.UPower ExecStart=/usr/libexec/upowerd Restart=on-failure # Filesystem lockdown ProtectSystem=strict # Needed by keyboard backlight support ProtectKernelTunables=false ProtectControlGroups=true ReadWritePaths=/var/lib/upower StateDirectory=upower ProtectHome=true PrivateTmp=true # Network # PrivateNetwork=true would block udev's netlink socket IPAddressDeny=any RestrictAddressFamilies=AF_UNIX AF_NETLINK # Execute Mappings MemoryDenyWriteExecute=true # Modules ProtectKernelModules=true # Real-time RestrictRealtime=true # Privilege escalation NoNewPrivileges=true # Capabilities CapabilityBoundingSet= # System call interfaces LockPersonality=yes SystemCallArchitectures=native SystemCallFilter=@system-service SystemCallFilter=ioprio_get # Namespaces PrivateUsers=yes RestrictNamespaces=yes # Locked memory LimitMEMLOCK=0 [Install] WantedBy=graphical.target
💾 保存
取消
保存为 UTF-8,换行统一为 LF