fixed navidrome not starting at reboot
This commit is contained in:
parent
8a38300d30
commit
ec85a18dc0
1 changed files with 9 additions and 2 deletions
|
|
@ -13,7 +13,14 @@
|
|||
proxyPass = "http://localhost:4533";
|
||||
};
|
||||
};
|
||||
systemd.services.navidrome = {
|
||||
# fixes failing DNS lookup
|
||||
systemd.services.navidrome.serviceConfig.BindReadOnlyPaths = [ "/etc" ];
|
||||
serviceConfig.BindReadOnlyPaths = [ "/etc" ];
|
||||
after = [ "genc_mount.service" ];
|
||||
serviceConfig = {
|
||||
Restart = "on-failure";
|
||||
RestartSec = "1s";
|
||||
};
|
||||
};
|
||||
}
|
||||
# vim: set et ts=2 sw=2 ai:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue