Last change
on this file since 892871d was
c5c522c,
checked in by Edwin Eefting <edwin@datux.nl>, 8 years ago
|
initial commit, transferred from cleaned syn3 svn tree
|
-
Property mode set to
100644
|
File size:
250 bytes
|
Rev | Line | |
---|
[c5c522c] | 1 | #!/bin/bash |
---|
| 2 | #postgres needs an interupt signal to shutdown immediatly |
---|
| 3 | svc -di /service/postgresql |
---|
| 4 | if ! svcdownchk /service/postgresql; then |
---|
| 5 | syn3-state postgresql CAUTION "Stutdown error" |
---|
| 6 | exit 1 |
---|
| 7 | else |
---|
| 8 | syn3-state postgresql OK "Stopped" |
---|
| 9 | exit 0 |
---|
| 10 | fi |
---|
| 11 | |
---|
Note: See
TracBrowser
for help on using the repository browser.