Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I'm running Ubuntu server and playing around with Upstart. I have installed PostgreSQL database server which doesn't use Upstart system, however im also writting an Upstart script that starts another process which depends on the PostgreSQL server to be up and running. How do i setup my Upstart conf file to run when the PostgreSQL will already be running since its not part of the Upstart?

Heres my simple script so far:

start on runlevel [2345]
stop on runlevel [!2345]

exec /spatial/server_init.sh
share|improve this question
2  
Okay, i think i ll try writting the Postgresql job in Upstart, i found this useful link: bradleyayers.blogspot.com/2011/10/… –  U2ros Oct 30 '12 at 19:23

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.