Advertisement
Guest User

Untitled

a guest
Feb 14th, 2012
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.35 KB | None | 0 0
  1. postgres@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<jyf@geek42.info>"
  6.  
  7. start on runlevel [2345]
  8. stop on runlevel [!2345]
  9.  
  10. script
  11.     setuid postgres
  12.     setgid postgres
  13.     exec /usr/lib/postgresql/8.4/bin/pg_ctl start -D /data
  14. end script
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement