From 83002f18468c4471d5f8de8c542ed2422badbf8f Mon Sep 17 00:00:00 2001 From: Jordan Williams Date: Sun, 24 Nov 2024 12:26:14 -0600 Subject: [PATCH] mopidy: restart the systemd service on failure --- modules/services/mopidy.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/services/mopidy.nix b/modules/services/mopidy.nix index b02708578..fc04d3d07 100644 --- a/modules/services/mopidy.nix +++ b/modules/services/mopidy.nix @@ -130,6 +130,7 @@ in { Service = { ExecStart = "${mopidyEnv}/bin/mopidy --config ${configFilePaths}"; + Restart = "on-failure"; }; Install.WantedBy = [ "default.target" ];