mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-01 10:07:42 +03:00
svn path=/nixos/trunk/; revision=12023
This commit is contained in:
parent
deaf99ca92
commit
f17f9e301f
@ -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 New Issue
Block a user