From 565f5c260a272bf18519bae3efc31f938f9fd259 Mon Sep 17 00:00:00 2001 From: Ryan Yin Date: Wed, 27 Mar 2024 21:59:38 +0800 Subject: [PATCH] fix: dae won't restart after SIGABRT: abort --- hosts/12kingdoms-suzu/suzi/dae.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hosts/12kingdoms-suzu/suzi/dae.nix b/hosts/12kingdoms-suzu/suzi/dae.nix index 0f468f95..8ede1b82 100644 --- a/hosts/12kingdoms-suzu/suzi/dae.nix +++ b/hosts/12kingdoms-suzu/suzi/dae.nix @@ -28,6 +28,11 @@ in { }; }; + systemd.services.dae.serviceConfig = { + Restart = "on-failure"; + RestartSec = 10; + }; + # dae supports two types of subscriptions: base64 encoded proxies, and sip008. # subscription can be a url return the subscription, or a file path that contains the subscription. #