Thread: starting at boot up

starting at boot up

From
"Adam Lang"
Date:
Also... how difficult would it be to start postgres in the rc3.d directory?

Would a file like this work? (not writing actual code since I don't know the
syntax):

Case $i
    start)
        su -l postgres -c "/usr/local/pgsql/bin/postmaster -D
/usr/local/pgsql/data -i /usr/local/pgsql/postgres.log 2>&1 &"
    stop)
        ????
    restart)
        ????
end case

Adam Lang
Systems Engineer
Rutgers Casualty Insurance Company