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 shouldn’t, but just in case
|
|
|
|
|
ProtectSystem=yes
|
|
|
|
|
# I swear I’m not paranoid about my own program
|
|
|
|
|
NoNewPrivileges=yes
|
|
|
|
|
ProtectKernelTunables=yes
|
|
|
|
|
ProtectControlGroups=yes
|
|
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
|
WantedBy=default.target
|