mopidy: restart the systemd service on failure

This commit is contained in:
Jordan Williams 2024-11-24 12:26:14 -06:00 committed by GitHub
parent 98bf8de65d
commit 83002f1846
Failed to generate hash of commit

View file

@ -130,6 +130,7 @@ in {
Service = { Service = {
ExecStart = "${mopidyEnv}/bin/mopidy --config ${configFilePaths}"; ExecStart = "${mopidyEnv}/bin/mopidy --config ${configFilePaths}";
Restart = "on-failure";
}; };
Install.WantedBy = [ "default.target" ]; Install.WantedBy = [ "default.target" ];