1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-23 11:39:46 +01:00

mopidy: restart the systemd service on failure

This commit is contained in:
Jordan Williams 2024-11-19 06:26:07 -06:00
parent a42fa14b53
commit fe2b1bf94b
No known key found for this signature in database
GPG key ID: 9FB42B0E7F657D8C

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" ];