pumopm/pumopm.service

18 lines
381 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
2020-09-27 12:54:37 +00:00
ExecStart=/usr/bin/pumopm
2020-09-27 11:00:36 +00:00
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