Merge pull request #9805 from Mathnerd314/quassel-fix

quassel: Start after its databases
This commit is contained in:
Domen Kožar 2015-11-06 11:14:54 +01:00
commit e695b245a9

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}