mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 20:34:52 +03:00
quassel: Start after its databases
This commit is contained in:
parent
a2f246770e
commit
91e6a8e5a2
@ -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