description "Start and stop slush on bitcoind start"
respawn
expect fork
start on started bitcoind
stop on stopped bitcoind
pre-start script
sleep 30
end script
chdir /pool/build/slushbuild/stratum-mining
exec twistd --syslog -ny launcher.tac &
You will need to change the "chdir" to the path to your stratum mining directory to have this work for you.
Copy the edited content into /etc/init/slushpool.conf
I put in a 30 second delay in the pre-start, so bitcoind has a opportunity to get started enough to accept the RCP calls. I was finding that slushpool was starting up too early and not able to communicate with bitcoind.
Feel free to see if it works for you guys too.