source: npl/commonservers/postgresql/stop @ c5c522c

gcc484ntopperl-5.22
Last change on this file since c5c522c 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
Line 
1#!/bin/bash
2#postgres needs an interupt signal to shutdown immediatly
3svc -di /service/postgresql
4if ! svcdownchk /service/postgresql; then
5        syn3-state postgresql CAUTION "Stutdown error"
6        exit 1
7else
8        syn3-state postgresql OK "Stopped"
9        exit 0
10fi
11       
Note: See TracBrowser for help on using the repository browser.