mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-20 04:31:52 +00:00
* Install the Zabbix PHP frontend and the SQL schemata/data.
svn path=/nixpkgs/trunk/; revision=11965
This commit is contained in:
parent
b4bd1c888a
commit
7d0bc40935
|
@ -17,6 +17,15 @@ stdenv.mkDerivation {
|
|||
|
||||
buildInputs = stdenv.lib.optionals enableServer [postgresql curl];
|
||||
|
||||
postInstall = if enableServer then ''
|
||||
ensureDir $out/share/zabbix
|
||||
cp -prvd frontends/php $out/share/zabbix/php
|
||||
ensureDir $out/share/zabbix/db/data
|
||||
cp -prvd create/data/*.sql $out/share/zabbix/db/data
|
||||
ensureDir $out/share/zabbix/db/schema
|
||||
cp -prvd create/schema/*.sql $out/share/zabbix/db/schema
|
||||
'' else ""; # */
|
||||
|
||||
meta = {
|
||||
description = "An enterprise-class open source distributed monitoring solution";
|
||||
homepage = http://www.zabbix.com/;
|
||||
|
|
Loading…
Reference in a new issue