#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2002
    Posts
    2
    Rep Power
    0

    startup with -i option


    hello!

    i have postgres on a linux machine and an init.d startup for postgres. can anyone post the modifyed line (126) from the startuo file so that the -i option is enabled??

    thanks... eri5
  2. #2
  3. #3
  4. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2002
    Posts
    2
    Rep Power
    0

    some more info...


    the following line starts up psql version 7.1 in a startup script:

    su -l postgres -c "LC_ALL=C /usr/bin/pg_ctl -D $PGDATA -p /usr/bin/postmaster start >/dev/null 2>&1" < /dev/null

    how do i change this line, so that the -i option is enalbled?? in other words, where shall i sqeeze the "-i" or is it on another line?

    thanks,
    eri5
  5. #4
  6. No Profile Picture
    Apprentice Deity
    Devshed Loyal (3000 - 3499 posts)

    Join Date
    Jul 1999
    Location
    Niagara Falls (On the wrong side of the gorge)
    Posts
    3,237
    Rep Power
    19
    su -l postgres -c "LC_ALL=C /usr/bin/pg_ctl -D $PGDATA -p /usr/bin/postmaster -i start >/dev/null 2>&1" < /dev/null

IMN logo majestic logo threadwatch logo seochat tools logo