commit 021fa2d1a6606d3350451683bf06c66559a9824d
parent a16d549adc4a76a77c2917f5acaef6d068d503c1
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date: Mon, 11 Jan 2021 16:14:05 +0100
Reset power policy after stop or failure
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/sguard/sguard.service b/sguard/sguard.service
@@ -4,6 +4,7 @@ Description=Sleep Inhibitor
[Service]
ExecStartPre=%h/.local/bin/sguard.sh reset
ExecStart=%h/.local/bin/sguard.sh
+ExecStopPost=%h/.local/bin/sguard.sh reset
Restart=always
[Install]