mirror of
https://github.com/nix-community/home-manager
synced 2024-11-26 21:19:45 +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 = {
|
||||
ExecStart = "${mopidyEnv}/bin/mopidy --config ${configFilePaths}";
|
||||
Restart = "on-failure";
|
||||
};
|
||||
|
||||
Install.WantedBy = [ "default.target" ];
|
||||
|
|
Loading…
Reference in a new issue