mirror of
https://github.com/nix-community/home-manager
synced 2024-11-27 05:29:46 +01:00
mopidy: restart the systemd service on failure
This commit is contained in:
parent
a42fa14b53
commit
fe2b1bf94b
1 changed files with 1 additions and 0 deletions
|
@ -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" ];
|
||||||
|
|
Loading…
Reference in a new issue