projects
/
contrib
/
pines
/
eg-debian.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c13364f
)
Stop apache, do some stuff, then start apache.
author
Chris Sharp
<csharp@georgialibraries.org>
Sat, 23 Sep 2017 18:13:12 +0000
(14:13 -0400)
committer
Chris Sharp
<csharp@georgialibraries.org>
Sat, 23 Sep 2017 18:13:12 +0000
(14:13 -0400)
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
files_for_build/postinst-cluster
patch
|
blob
|
history
diff --git
a/files_for_build/postinst-cluster
b/files_for_build/postinst-cluster
index
1b2c910
..
6669b05
100755
(executable)
--- a/
files_for_build/postinst-cluster
+++ b/
files_for_build/postinst-cluster
@@
-35,10
+35,11
@@
if [ ! -e "/etc/apache2/ssl" ]
popd
fi
+service apache2 stop
sed -i "s^APACHE_RUN_USER=www-data^APACHE_RUN_USER=opensrf^g" /etc/apache2/envvars
/usr/sbin/a2dissite 000-default > /dev/null
/usr/sbin/a2ensite eg.conf > /dev/null
-
/etc/init.d/apache2 re
start
+
service apache2
start
}
init_db()
@@
-138,6
+139,8
@@
chown opensrf.opensrf /openils -R
}
# install_cpan_modules ## now installed from repos.
+echo "csharp: before fixup_apache"
+ps aux | grep apache
fixup_apache
#init_db
#add_eg_db_user