Mercurial > dive4elements > river
annotate contrib/init.d/README.txt @ 9234:2d4750874c57
Cleanup and more fail safe
author | gernotbelger |
---|---|
date | Fri, 06 Jul 2018 13:12:04 +0200 |
parents | 1709c429818a |
children |
rev | line source |
---|---|
5118
dc0cc18e7944
Added SLES start script
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
1 SLES-Init-Script fuer Dive4Elements River: |
dc0cc18e7944
Added SLES start script
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
2 |
dc0cc18e7944
Added SLES start script
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
3 Installation als root: |
7738
1709c429818a
(issue1692) Ãberarbeitetes Init script
Andre Heinecke <aheinecke@intevation.de>
parents:
5118
diff
changeset
|
4 - d4e-river Kopieren nach /etc/init.d/d4e-river |
5118
dc0cc18e7944
Added SLES start script
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
5 - chmod 755 /etc/init.d/d4e-river |
dc0cc18e7944
Added SLES start script
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
6 - insserv /etc/init.d/d4e-river |
7738
1709c429818a
(issue1692) Ãberarbeitetes Init script
Andre Heinecke <aheinecke@intevation.de>
parents:
5118
diff
changeset
|
7 - d4e-start Kopieren nach /opt/flys/d4e-start |
1709c429818a
(issue1692) Ãberarbeitetes Init script
Andre Heinecke <aheinecke@intevation.de>
parents:
5118
diff
changeset
|
8 - chmod 755 /opt/flys/d4e-start |
5118
dc0cc18e7944
Added SLES start script
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
9 - /etc/init.d/d4e-river start |
dc0cc18e7944
Added SLES start script
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
10 |
7738
1709c429818a
(issue1692) Ãberarbeitetes Init script
Andre Heinecke <aheinecke@intevation.de>
parents:
5118
diff
changeset
|
11 |
5118
dc0cc18e7944
Added SLES start script
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
12 Deinstallation als root: |
dc0cc18e7944
Added SLES start script
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
13 - /etc/init.d/d4e-river stop |
dc0cc18e7944
Added SLES start script
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
14 - insserv -r /etc/init.d/d4e-river |
dc0cc18e7944
Added SLES start script
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
15 - rm /var/log/d4e-river.log /var/run/d4e-river.pid /etc/init.d/d4e-river |
7738
1709c429818a
(issue1692) Ãberarbeitetes Init script
Andre Heinecke <aheinecke@intevation.de>
parents:
5118
diff
changeset
|
16 - rm /opt/flys/d4e-start |
5118
dc0cc18e7944
Added SLES start script
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
17 |
dc0cc18e7944
Added SLES start script
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
18 TODO: |
dc0cc18e7944
Added SLES start script
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
19 - ggf. logrotate fuer Logdatei /var/log/d4e-river.log konfigurieren |