[PATCH] Restart systemd service on failure
Export this patch
---
contrib/systemd-user/poweralertd.service.in | 1 +
1 file changed, 1 insertion(+)
diff --git a/contrib/systemd-user/poweralertd.service.in b/contrib/systemd-user/poweralertd.service.in
index 475fa00..c0c6559 100644
--- a/contrib/systemd-user/poweralertd.service.in
+++ b/contrib/systemd-user/poweralertd.service.in
@@ -7,6 +7,7 @@ Requires=graphical-session.target
[Service]
Type=simple
ExecStart=@bindir@/poweralertd
+Restart=on-failure
[Install]
WantedBy=graphical-session.target
--
2.43.2
Applied, thanks!