fixed navidrome not starting at reboot

This commit is contained in:
mc-fucker 2022-06-01 11:18:13 +02:00
parent 8a38300d30
commit ec85a18dc0

View file

@ -13,7 +13,14 @@
proxyPass = "http://localhost:4533"; proxyPass = "http://localhost:4533";
}; };
}; };
# fixes failing DNS lookup systemd.services.navidrome = {
systemd.services.navidrome.serviceConfig.BindReadOnlyPaths = [ "/etc" ]; # fixes failing DNS lookup
serviceConfig.BindReadOnlyPaths = [ "/etc" ];
after = [ "genc_mount.service" ];
serviceConfig = {
Restart = "on-failure";
RestartSec = "1s";
};
};
} }
# vim: set et ts=2 sw=2 ai: # vim: set et ts=2 sw=2 ai: