Fixed the place of PILER_CONFIG_DIR and CONFIG_SITE_PHP

Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
Janos SUTO 2019-11-15 16:12:31 +01:00
parent d2d60eb8bd
commit 5380196325

View File

@ -13,8 +13,6 @@ CRON_ORIG="/tmp/crontab.piler.orig"
CRON_TMP="/tmp/crontab.piler"
PILERCONF_TMP="/tmp/config.piler.88"
SOCKET_HELPER_SCRIPT="aaa.pl"
PILER_CONFIG_DIR="${SYSCONFDIR}/piler"
CONFIG_SITE_PHP="${PILER_CONFIG_DIR}/config-site.php"
load_default_values() {
PILERUSER="piler"
@ -23,6 +21,9 @@ load_default_values() {
LIBEXECDIR=__LIBEXECDIR
DATAROOTDIR=__DATAROOTDIR
PILER_CONFIG_DIR="${SYSCONFDIR}/piler"
CONFIG_SITE_PHP="${PILER_CONFIG_DIR}/config-site.php"
KEYTMPFILE="piler.key"
KEYFILE="${PILER_CONFIG_DIR}/piler.key"