/[smecontribs]/rpms/geneweb/contribs10/geneweb-6.08-init2.patch
ViewVC logotype

Contents of /rpms/geneweb/contribs10/geneweb-6.08-init2.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Thu Nov 5 15:59:27 2020 UTC (3 years, 11 months ago) by michel
Branch: MAIN
CVS Tags: geneweb-6_08-12_el7_sme, HEAD
* Wed Nov 04 2020 Michel Begue <mab974@gmail.com> 6.08-12
- first import to sme10 tree (geneweb-6.08) [SME: 11082]

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

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed