pumopm/pumopm.service

18 lines
379 B
SYSTEMD
Raw Permalink Normal View History

2020-09-27 11:00:36 +00:00
[Unit]
Description=A small, simple, no bloat power manager.
[Service]
Type=notify
ExecStart=/usr/bin/pumo
Restart=on-failure
# Disalow writing to /usr, /bin, /usr/bin... It shouldnt, but just in case
ProtectSystem=yes
# I swear Im not paranoid about my own program
NoNewPrivileges=yes
ProtectKernelTunables=yes
ProtectControlGroups=yes
[Install]
WantedBy=default.target