svn path=/nixos/trunk/; revision=12023
This commit is contained in:
parent
deaf99ca92
commit
f17f9e301f
1 changed files with 10 additions and 0 deletions
|
@ -20,6 +20,13 @@ in
|
|||
|
||||
{
|
||||
|
||||
extraModules = [
|
||||
{ name = "php5"; path = "${pkgs.php}/modules/libphp5.so"; }
|
||||
];
|
||||
|
||||
# !!! should also declare PHP options that Zabbix needs like the
|
||||
# timezone and timeout.
|
||||
|
||||
extraConfig = ''
|
||||
Alias ${config.urlPrefix}/ ${zabbixPHP}/
|
||||
|
||||
|
@ -35,6 +42,9 @@ in
|
|||
chown -R ${serverInfo.serverConfig.user} ${config.stateDir}
|
||||
'';
|
||||
|
||||
# The frontend needs "ps" to find out whether zabbix_server is running.
|
||||
extraServerPath = ["${pkgs.procps}/bin"];
|
||||
|
||||
options = {
|
||||
|
||||
urlPrefix = pkgs.lib.mkOption {
|
||||
|
|
Loading…
Reference in a new issue