Post
Topic
Board Development & Technical Discussion
Re: Ubuntu/Debian startup script
by
phungus
on 07/02/2013, 16:44:02 UTC

Thanks for that, Giga!

-p


FYI in case anyone is trying to get phungus' upstart script working on Ubuntu 12.04. The runlevel config needed to change a bit. See below.

Code:
# bitcoind upstart script for Ubuntu

description "Bitcoin daemon"

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

respawn
exec su -c "/home/bitcoinuser/bin/bitcoind" - bitcoinuser