mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03: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
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue