From 5a9f4784660a01df510452b7285382f7cc441f9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Sat, 12 Aug 2017 15:51:28 +0200 Subject: [PATCH] Automatically restart qubesd when it crashes qubesd service is critical for Qubes usage, so even in case of critical error crashing the whole service, make sure it is restarted. Set delay to 1s (default 100ms), to allow other services to restart too, if crash was caused by some other service (like libvirtd crash). QubesOS/qubes-issues#2960 --- linux/systemd/qubesd.service | 2 ++ 1 file changed, 2 insertions(+) diff --git a/linux/systemd/qubesd.service b/linux/systemd/qubesd.service index da86fb6d..08791abf 100644 --- a/linux/systemd/qubesd.service +++ b/linux/systemd/qubesd.service @@ -6,6 +6,8 @@ Type=notify ExecStart=/usr/bin/qubesd StandardOutput=syslog KillMode=process +Restart=on-failure +RestartSec=1s [Install] WantedBy=multi-user.target