Don't control apache with opensrf init script.
authorChris Sharp <csharp@georgialibraries.org>
Tue, 26 Sep 2017 01:04:16 +0000 (21:04 -0400)
committerChris Sharp <csharp@georgialibraries.org>
Tue, 26 Sep 2017 01:04:16 +0000 (21:04 -0400)
templates/init/eg_opensrf

index e67ab04..519327d 100755 (executable)
@@ -63,22 +63,22 @@ autogen() {
 case "$1" in
     start)
         start_opensrf
-       /etc/init.d/apache2-websockets stop
-       /etc/init.d/apache2 restart
-       /etc/init.d/apache2-websockets start
+#      /etc/init.d/apache2-websockets stop
+#      /etc/init.d/apache2 restart
+#      /etc/init.d/apache2-websockets start
     ;;
     stop)
         stop_opensrf
     ;;
     restart)
-       /etc/init.d/apache2-websockets stop
-       /etc/init.d/apache2 stop
+#      /etc/init.d/apache2-websockets stop
+#      /etc/init.d/apache2 stop
        log_daemon_msg "Restarting Evergreen OpenSRF:"
         stop_opensrf
        sleep 2
         start_opensrf
-       /etc/init.d/apache2-websockets start
-       /etc/init.d/apache2 start
+#      /etc/init.d/apache2-websockets start
+#      /etc/init.d/apache2 start
     ;;
     autogen)
         autogen