mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-11-07 23:41:59 +01:00
The piler binaries paths in config.php should honor the ./configure options
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
parent
99a4bf4819
commit
ca7c65b84a
@ -64,7 +64,8 @@ $(RECURSIVE_TARGETS):
|
||||
|
||||
|
||||
config-php:
|
||||
sed "s%SYSCONFDIR%$(sysconfdir)%" config.php.in > webui/config.php
|
||||
sed -e "s%SYSCONFDIR%$(sysconfdir)%" -e "s%SBINDIR%$(sbindir)%g" config.php.in > webui/config.php
|
||||
sed -e "s%BINDIR%$(bindir)%g" -i webui/config.php
|
||||
|
||||
|
||||
installdirs: mkinstalldirs
|
||||
|
@ -217,8 +217,8 @@ $config['DIR_STAT'] = '/var/piler/stat';
|
||||
$config['DIR_IMAP'] = '/var/piler/imap';
|
||||
$config['DIR_TMP'] = '/var/piler/tmp';
|
||||
|
||||
$config['DECRYPT_BINARY'] = '/usr/local/bin/pilerget';
|
||||
$config['DECRYPT_ATTACHMENT_BINARY'] = '/usr/local/bin/pileraget';
|
||||
$config['DECRYPT_BINARY'] = 'BINDIR/pilerget';
|
||||
$config['DECRYPT_ATTACHMENT_BINARY'] = 'BINDIR/pileraget';
|
||||
$config['DECRYPT_BUFFER_LENGTH'] = 65536;
|
||||
|
||||
$config['OPENSSL_BINARY'] = '/usr/bin/openssl';
|
||||
@ -249,7 +249,7 @@ $config['MAX_EMAIL_LEN'] = 41;
|
||||
$config['RELOAD_COMMAND'] = 'sudo -n /etc/init.d/rc.piler reload';
|
||||
$config['PILERIMPORT_IMAP_COMMAND'] = '/usr/local/bin/pilerimport -d /var/piler/imap -q -r';
|
||||
$config['CPU_USAGE_COMMAND'] = "LC_ALL=C mpstat | tail -1 | rev | awk '{ print $1 }' | rev";
|
||||
$config['PILER_BINARY'] = "/usr/local/sbin/piler";
|
||||
$config['PILER_BINARY'] = "SBINDIR/piler";
|
||||
|
||||
$config['LDAP_IMPORT_CONFIG_FILE'] = '/usr/local/etc/ldap-import.cfg';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user