mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-31 01:04:25 +00:00
* 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:
parent
fa344f60d9
commit
b11a33717f
@ -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 =
|
||||
''
|
||||
|
Loading…
Reference in New Issue
Block a user