1 |
diff -urN geneweb-6.08.old/rpm/geneweb-initrc.sh geneweb-6.08/rpm/geneweb-initrc.sh |
2 |
--- geneweb-6.08.old/rpm/geneweb-initrc.sh 2015-05-07 13:42:44.000000000 +0400 |
3 |
+++ geneweb-6.08/rpm/geneweb-initrc.sh 2019-04-02 22:23:51.000000000 +0400 |
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 |