pumopm/pumopm.service

18 lines
381 B
SYSTEMD
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

[Unit]
Description=A small, simple, no bloat power manager.
[Service]
Type=notify
ExecStart=/usr/bin/pumopm
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