exit;
fi
+sudo systemctl stop nginx
sudo systemctl stop apache2
-sudo apache2ctl-websockets stop # no systemd service file
+sudo systemctl stop websocketd-osrf
/openils/bin/osrf_control --localhost --fast-shutdown-all
BID=$(date +"%FT%T");
-cd $ILS;
+
+# AngularJS
+cd $ILS/Open-ILS/web/js/ui/default/staff/
+npm run build-prod
+
+# Angular
+cd $ILS/Open-ILS/src/eg2/
+ng build --prod
+
+cd $ILS
+
make && sudo make install STAFF_CLIENT_BUILD_ID=$BID \
STAFF_CLIENT_VERISON=$BID STAFF_CLIENT_STAMP_ID=$BID;
sleep 10;
cd /openils/bin && ./autogen.sh ../conf/opensrf_core.xml;
+sudo systemctl start websocketd-osrf
+sudo systemctl start nginx
sudo systemctl start apache2
-sudo apache2ctl-websockets start;
+