* zabbix-server: don't require PostgreSQL to be started

if we're using a remote server.

svn path=/nixos/trunk/; revision=31852
This commit is contained in:
Eelco Dolstra 2012-01-26 13:32:02 +00:00
parent fa344f60d9
commit b11a33717f

View File

@ -76,8 +76,8 @@ in
description = "Zabbix server daemon";
startOn = "started postgresql";
stopOn = "stopping postgresql";
startOn = if cfg.dbServer == "localhost" then "started postgresql" else "filesystem";
stopOn = if cfg.dbServer == "localhost" then "stopping postgresql" else "starting shutdown";
preStart =
''