]> git.pld-linux.org Git - packages/postgresql.git/commitdiff
- separate restart and reload
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 5 Jun 2001 16:13:47 +0000 (16:13 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    postgresql.init -> 1.24

postgresql.init

index 8b9bcf2116f09a6411688a95cc1144ed297833f9..2a7d804368304fe03f31172c5bddb8ecbc6fb99b 100644 (file)
@@ -110,7 +110,11 @@ case "$1" in
        PGSQL_CMDLINE="$([ -n "$POSTGRES_DATA_DIR" ] && echo "-D $POSTGRES_DATA_DIR")";
        su postgres -c "/usr/bin/pg_ctl status $PGSQL_CMDLINE"
        ;;
-  restart|reload)
+  restart)
+       $0 stop
+       $0 start
+       ;;
+  reload)
        if [ ! -f /var/lock/subsys/postgresql ]; then
                msg_Not_Running PostgreSQL
                exit 0  
This page took 0.190596 seconds and 4 git commands to generate.