install-eg.sh: SSL setup
[sitka/sitka-tools.git] / deployment / restart-osrf.sh
CommitLineData
0155bbac
JD
1#!/bin/bash
2
3BASEDIR="/srv/openils"
4BINDIR="${BASEDIR}/bin"
5
6BRICK_CTL="/home/opensrf/brick_ctl.sh"
7
8OSRFLG="/srv/openils/var/log/osrfsys.log"
9
10RestartBrick()
11{
12 /etc/init.d/apache2 stop
13 su -l opensrf -c ${BRICK_CTL} -a restart_all
14 /etc/init.d/apache2 start
15 return 1
16}
17
18RestartOsrf()
19{
20 /etc/init.d/apache2 stop
21 su -l opensrf -c ${BINDIR}/osrf_ctl.sh -l -a restart_all
22 /etc/init.d/apache2 start
23 return 1
24}
25
26