1 |
diff -ruN geneweb-5.01-1/rpm/geneweb-initrc.sh geneweb-5.01-2/rpm/geneweb-initrc.sh |
2 |
--- geneweb-5.01-1/rpm/geneweb-initrc.sh 2005-12-13 04:51:26.000000000 -0700 |
3 |
+++ geneweb-5.01-2/rpm/geneweb-initrc.sh 2008-02-21 13:49:38.000000000 -0700 |
4 |
@@ -21,9 +21,9 @@ |
5 |
echo "Starting GeneWeb Services:" |
6 |
touch /var/log/gwd.log /var/log/gwsetup.log |
7 |
chown geneweb /var/log/gwd.log /var/log/gwsetup.log |
8 |
- mkdir -p /home/geneweb/bases |
9 |
- chmod a+rw /home/geneweb/bases |
10 |
- cd /home/geneweb/bases |
11 |
+ mkdir -p /opt/geneweb/bases |
12 |
+ chmod a+rw /opt/geneweb/bases |
13 |
+ cd /opt/geneweb/bases |
14 |
hd=../gw/gw |
15 |
$hd/gwd -log /var/log/gwd.log -daemon -hd $hd -setup_link |
16 |
$hd/gwsetup -daemon -gd $hd 2>> /var/log/gwsetup.log |
17 |
@@ -31,7 +31,7 @@ |
18 |
;; |
19 |
stop) |
20 |
echo -n "Shutting down GeneWeb Services: " |
21 |
- cd /home/geneweb/bases |
22 |
+ cd /opt/geneweb/bases |
23 |
hd=../gw/gw |
24 |
killproc $hd/gwd |
25 |
killproc $hd/gwsetup |
26 |
@@ -43,8 +43,8 @@ |
27 |
;; |
28 |
restart) |
29 |
echo -n "Restarting GeneWeb Services: " |
30 |
- mkdir -p /home/geneweb/bases |
31 |
- cd /home/geneweb/bases |
32 |
+ mkdir -p /opt/geneweb/bases |
33 |
+ cd /opt/geneweb/bases |
34 |
hd=../gw/gw |
35 |
killproc $hd/gwd |
36 |
killproc $hd/gwsetup |