diff options
author | Mathnerd314 <mathnerd314.gph+hs@gmail.com> | 2015-08-17 10:35:08 -0600 |
---|---|---|
committer | Mathnerd314 <mathnerd314.gph+hs@gmail.com> | 2015-09-11 15:42:35 -0600 |
commit | 91e6a8e5a26a1ea4aa1c122883be29b910eb3d19 (patch) | |
tree | 792464cbd14fb5e21e604f9f676585e85983f3e6 /nixos | |
parent | a2f246770e273e24b6bc5e2be39bfb5c3047c73a (diff) | |
download | nixlib-91e6a8e5a26a1ea4aa1c122883be29b910eb3d19.tar nixlib-91e6a8e5a26a1ea4aa1c122883be29b910eb3d19.tar.gz nixlib-91e6a8e5a26a1ea4aa1c122883be29b910eb3d19.tar.bz2 nixlib-91e6a8e5a26a1ea4aa1c122883be29b910eb3d19.tar.lz nixlib-91e6a8e5a26a1ea4aa1c122883be29b910eb3d19.tar.xz nixlib-91e6a8e5a26a1ea4aa1c122883be29b910eb3d19.tar.zst nixlib-91e6a8e5a26a1ea4aa1c122883be29b910eb3d19.zip |
quassel: Start after its databases
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/networking/quassel.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/quassel.nix b/nixos/modules/services/networking/quassel.nix index 005eb7bd7614..15db2d5346b8 100644 --- a/nixos/modules/services/networking/quassel.nix +++ b/nixos/modules/services/networking/quassel.nix @@ -78,7 +78,8 @@ in { description = "Quassel IRC client daemon"; wantedBy = [ "multi-user.target" ]; - after = [ "network.target" ]; + after = [ "network.target" ] ++ optional config.services.postgresql.enable "postgresql.service" + ++ optional config.services.mysql.enable "mysql.service"; preStart = '' mkdir -p ${cfg.dataDir} |