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
This commit is contained in:
Marek Marczykowski-Górecki 2017-08-12 15:51:28 +02:00
parent 670e84c835
commit 5a9f478466
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -6,6 +6,8 @@ Type=notify
ExecStart=/usr/bin/qubesd ExecStart=/usr/bin/qubesd
StandardOutput=syslog StandardOutput=syslog
KillMode=process KillMode=process
Restart=on-failure
RestartSec=1s
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target