mirror of
https://github.com/nix-community/home-manager
synced 2025-01-02 15:19:48 +01:00
mopidy: restart the systemd service on failure
This commit is contained in:
parent
98bf8de65d
commit
83002f1846
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