Guest User

Untitled

a guest
Feb 14th, 2012
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. root@geek42:/etc/init# cat postgresql.conf
  2. # this is a upstart configure file for my poor vps's postgresql
  3.  
  4. description "Postgresql Server"
  5. author "jyf<[email protected]>"
  6.  
  7. start on runlevel [2345]
  8. stop on runlevel [!2345]
  9.  
  10. script
  11. su postgres
  12. exec /usr/lib/postgresql/8.4/bin/pg_ctl start -D /data -l /tmp/pg.log 2>&1 1>/tmp/pgsql.log
  13. end script
Advertisement
Add Comment
Please, Sign In to add comment