Second instance

Daniel L. Miller dmiller at amfes.com
Wed May 18 20:34:54 UTC 2011


I'm trying to start two processes via one job - not having a lot of 
success.  The documentation indicates this should be possible - I assume 
I'm doing something stupid.  My config:

# assp - Anti-Spam Service Proxy
#
# assp

description     "ASSP"

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

respawn
respawn limit 3 10

chdir /opt/assp

instance primary
exec /usr/bin/perl /opt/assp/assp.pl

instance secondary
exec /usr/bin/perl /opt/assp/assp.pl --AsASecondary:=1

-- 
Daniel



More information about the upstart-devel mailing list