mopidy: make service wait until system is online

This commit is contained in:
Thomas Churchman 2022-02-24 12:37:29 +01:00 committed by Bjørn Forsman
parent 04d48f3896
commit 972626f142

View File

@ -76,7 +76,7 @@ in {
systemd.services.mopidy = {
wantedBy = [ "multi-user.target" ];
after = [ "network.target" "sound.target" ];
after = [ "network-online.target" "sound.target" ];
description = "mopidy music player daemon";
serviceConfig = {
ExecStart = "${mopidyEnv}/bin/mopidy --config ${concatStringsSep ":" ([mopidyConf] ++ cfg.extraConfigFiles)}";