From a36725801e5b285d8891b1b48cf10546f1440ff7 Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Thu, 27 Dec 2018 18:53:21 +0000 Subject: [PATCH] clunk.service: Set Restart=on-failure. This is recommended in systemd.service(5), and seems appropriate. Most ways that clunk might fail are unlikely to be helped by restarting it, but it's probably worth a try. --- clunk.service | 1 + 1 file changed, 1 insertion(+) diff --git a/clunk.service b/clunk.service index 499eb19..10cdb5f 100644 --- a/clunk.service +++ b/clunk.service @@ -10,6 +10,7 @@ StateDirectory=clunk Environment="CLUNK_OPTIONS=-C pinctrl-bcm2835 -L 17" EnvironmentFile=/etc/default/clunk ExecStart=clunk -f %S/clunk/clunk.state $CLUNK_OPTIONS +Restart=on-failure [Install] WantedBy=multi-user.target -- 2.30.2