quassel: Start after its databases

This commit is contained in:
Mathnerd314 2015-08-17 10:35:08 -06:00
parent a2f246770e
commit 91e6a8e5a2

View File

@ -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}