Supprimer un message
cauet
#!/bin/bash
. /usr/share/postgresql-common/init.d-functions
VERSION=8.1
case "$1" in
start)
start $VERSION
;;
stop)
stop "$VERSION"
;;
restart)
restart "$VERSION"
;;
force-reload | reload)
reload $VERSION
;;
status)
status $VERSION
;;
autovac-start)
autovac_start $VERSION
;;
autovac-stop)
autovac_stop $VERSION
;;
autovac-restart)
autovac_restart $VERSION
;;
*)
echo "Usage: $0 {start|stop|restart|reload|force-reload|status|autovac-start|autovac-stop|autovac-restart}"
exit 1
;;
esac
exit 0
. /usr/share/postgresql-common/init.d-functions
VERSION=8.1
case "$1" in
start)
start $VERSION
;;
stop)
stop "$VERSION"
;;
restart)
restart "$VERSION"
;;
force-reload | reload)
reload $VERSION
;;
status)
status $VERSION
;;
autovac-start)
autovac_start $VERSION
;;
autovac-stop)
autovac_stop $VERSION
;;
autovac-restart)
autovac_restart $VERSION
;;
*)
echo "Usage: $0 {start|stop|restart|reload|force-reload|status|autovac-start|autovac-stop|autovac-restart}"
exit 1
;;
esac
exit 0