installEDEX and edex service mngr create and control /awips2/tmp
This commit is contained in:
parent
cf1b27b14d
commit
64ec85ec28
2 changed files with 9 additions and 1 deletions
|
@ -60,7 +60,10 @@ service qpidd stop
|
||||||
if [ ! -d /awips2/data_store ]; then
|
if [ ! -d /awips2/data_store ]; then
|
||||||
mkdir -p /awips2/data_store
|
mkdir -p /awips2/data_store
|
||||||
fi
|
fi
|
||||||
chown -R awips:fxalpha /awips2/data_store
|
if [ ! -d /awips2/tmp ]; then
|
||||||
|
mkdir -p /awips2/tmp
|
||||||
|
fi
|
||||||
|
chown -R awips:fxalpha /awips2/data_store /awips2/tmp
|
||||||
|
|
||||||
if [[ $1 -eq "reinstall" ]]; then
|
if [[ $1 -eq "reinstall" ]]; then
|
||||||
echo ''
|
echo ''
|
||||||
|
|
|
@ -285,6 +285,11 @@ edex_setup() { # setup IP subnet and domains for EDEX, prompt user for confirm
|
||||||
|
|
||||||
edex_start() { # start all edex services
|
edex_start() { # start all edex services
|
||||||
edex_cleanup
|
edex_cleanup
|
||||||
|
if [ ! -d /awips2/tmp ]; then
|
||||||
|
mkdir -p /awips2/tmp
|
||||||
|
fi
|
||||||
|
chown -R awips:fxalpha /awips2/data_store /awips2/tmp
|
||||||
|
|
||||||
if [ -f "/etc/init.d/edex_postgres" ]; then
|
if [ -f "/etc/init.d/edex_postgres" ]; then
|
||||||
su -c "service edex_postgres start"
|
su -c "service edex_postgres start"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue