From e2cd652cb635357691797ff1736e7617c3470929 Mon Sep 17 00:00:00 2001 From: julian Date: Thu, 26 Oct 2023 21:30:21 +0200 Subject: [PATCH] Also set Restart to on-failure for nqptp service for good measure --- config/hosts/audio/shairport-sync.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/config/hosts/audio/shairport-sync.nix b/config/hosts/audio/shairport-sync.nix index d19a7cf..f10092d 100644 --- a/config/hosts/audio/shairport-sync.nix +++ b/config/hosts/audio/shairport-sync.nix @@ -44,6 +44,7 @@ User = "nqptp"; Group = "nqptp"; AmbientCapabilities = [ "CAP_NET_BIND_SERVICE" ]; + Restart = "on-failure"; }; wantedBy = [ "multi-user.target" ]; };