nixos/mopidy: restart the systemd service on failure (#357250)
This commit is contained in:
commit
377b520bab
@ -77,6 +77,7 @@ in {
|
||||
description = "mopidy music player daemon";
|
||||
serviceConfig = {
|
||||
ExecStart = "${mopidyEnv}/bin/mopidy --config ${lib.concatStringsSep ":" ([mopidyConf] ++ cfg.extraConfigFiles)}";
|
||||
Restart = "on-failure";
|
||||
User = "mopidy";
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user