Add want to units ordered after network-online.target

This commit is contained in:
Simon Bruder 2024-06-02 12:41:23 +02:00
parent e07c4ea7b4
commit f103c17a62
Signed by: simon
GPG key ID: 347FF8699CDA0776
2 changed files with 5 additions and 2 deletions

View file

@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: 2021-2022 Simon Bruder <simon@sbruder.de>
# SPDX-FileCopyrightText: 2021-2024 Simon Bruder <simon@sbruder.de>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
@ -25,6 +25,8 @@
channelname = ''[ \\-=\\w\\#\\[\\]\\{\\}\\(\\)\\@\\|]+'';
};
};
# upstream (out-of-tree) does not define this, but nixpkgs wants (🥁) it
systemd.services.murmur.wants = [ "network-online.target" ];
services.nginx.virtualHosts."mumble.sbruder.de" = {
enableACME = true;

View file

@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: 2020-2023 Simon Bruder <simon@sbruder.de>
# SPDX-FileCopyrightText: 2020-2024 Simon Bruder <simon@sbruder.de>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
@ -23,6 +23,7 @@ in
# otherwise name resolution fails
systemd.services.nginx.after = [ "network-online.target" ];
systemd.services.nginx.wants = [ "network-online.target" ];
services.nginx = {
enable = true;
commonHttpConfig = ''