powerman/powerman.service
2019-03-29 19:10:25 -05:00

12 lines
239 B
Desktop File

[Unit]
Description=Check battery status and make actions based in arguments.
After=default.target
[Service]
Type=oneshot
ExecStart=/usr/bin/powerman 5 hibernate
KillMode=process
KillSignal=SIGINT
[Install]
WantedBy=default.target