mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 10:53:11 +00:00
Merge pull request #9805 from Mathnerd314/quassel-fix
quassel: Start after its databases
This commit is contained in:
commit
e695b245a9
@ -78,7 +78,8 @@ in
|
|||||||
{ description = "Quassel IRC client daemon";
|
{ description = "Quassel IRC client daemon";
|
||||||
|
|
||||||
wantedBy = [ "multi-user.target" ];
|
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 = ''
|
preStart = ''
|
||||||
mkdir -p ${cfg.dataDir}
|
mkdir -p ${cfg.dataDir}
|
||||||
|
Loading…
Reference in New Issue
Block a user