Start apache2 rather than restart apache2.
authorJason Stephenson <jason@sigio.com>
Wed, 5 Dec 2018 16:03:29 +0000 (11:03 -0500)
committerJason Stephenson <jason@sigio.com>
Wed, 5 Dec 2018 16:03:29 +0000 (11:03 -0500)
Since apache2 is stopped higher up in the buildeg.sh script, we change
to starting apache2 towards the end.  Restart worked, but start makes
more sense.

Signed-off-by: Jason Stephenson <jason@sigio.com>
scripts/postbuild.sh

index fa3bb7a..42a2fcf 100755 (executable)
@@ -191,7 +191,7 @@ sudo -b /usr/local/bin/websocketd --port 7682 --ssl \
 # Start Evergreen up!
 osrf_control --localhost --start-all
 /openils/bin/autogen.sh
-sudo systemctl restart apache2
+sudo systemctl start apache2
 
 # Setup crontab
 sed -e '/^OPENILS/i\\