I am trying to get a simple script to run at startup my script looks like:
#!/bin/bash
### BEGIN INIT INFO
# Provides: litecoind daemon
# Required-Start:
# Required-Stop:
# Default-Start:
# Default-Stop:
# Short-Description: start litecoind
# Description:
### END INIT INFO</pre>
do start()
{
litecoind -daemon --start
}
exit 0
I've added it to /etc/init.d/litecoin
sudo chmod +x /etc/init.d/litecoin
sudo update-rc.d litecoin defaults
For some reason it is not starting up, forgive my ignorance first time using ubuntu.