summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2014-03-05 16:07:14 -0800
committerIvan Kohler <ivan@freeside.biz>2014-03-05 16:07:14 -0800
commita8001fede477df80f80951eaf962bdb058d9f605 (patch)
treea1a1c5c3ebf4646cdad7d2249aaa1a9326b2c2f2 /Makefile
parent1ac43321cf1601e42bfc24433d0edd2268cb2a2e (diff)
add back-office xmlrpc api and daemon, RT#27958
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 7cf669870..b2eb8695c 100644
--- a/Makefile
+++ b/Makefile
@@ -87,6 +87,7 @@ INSTALLGROUP = root
#edit the stuff below to have the daemons start
QUEUED_USER=fs_queue
+API_USER = fs_api
SELFSERVICE_USER = fs_selfservice
#never run on the same machine in production!!!
@@ -228,6 +229,9 @@ perl-modules:
s|%%%FREESIDE_CACHE%%%|${FREESIDE_CACHE}|g;\
" blib/lib/FS/cust_main/*.pm blib/lib/FS/cust_pkg/*.pm;\
perl -p -i -e "\
+ s|%%%FREESIDE_LOG%%%|${FREESIDE_LOG}|g;\
+ " blib/lib/FS/Daemon/*.pm;\
+ perl -p -i -e "\
s|%%%FREESIDE_CONF%%%|${FREESIDE_CONF}|g;\
s|%%%FREESIDE_LOG%%%|${FREESIDE_LOG}|g;\
s|%%%FREESIDE_LOCK%%%|${FREESIDE_LOCK}|g;\
@@ -267,6 +271,7 @@ install-init:
install -o root -g ${INSTALLGROUP} -m 711 init.d/freeside-init ${INIT_FILE}
perl -p -i -e "\
s/%%%QUEUED_USER%%%/${QUEUED_USER}/g;\
+ s/%%%API_USER%%%/${API_USER}/g;\
s/%%%SELFSERVICE_USER%%%/${SELFSERVICE_USER}/g;\
s/%%%SELFSERVICE_MACHINES%%%/${SELFSERVICE_MACHINES}/g;\
" ${INIT_FILE}