BitShares Forum

Other => Graveyard => BitShares PTS => Topic started by: rando on November 07, 2013, 04:51:32 am

Title: How to start automatically upon boot?
Post by: rando on November 07, 2013, 04:51:32 am
Anyone know how to start protoshares automatically upon boot (Ubuntu)?

I've tried:
sudo nano /etc/rc.local

and adding:
cd /home/me/ProtoShares
./protosharesd
exit 0

It changes into the ProtoShares directory successfully, but checking top, shows that protosharesd is not started.
Title: Re: How to start automatically upon boot?
Post by: kenpodragon on November 07, 2013, 04:34:23 pm
create a .sh file in /etc/init.d (chmod +x)
update-rc.d startPS.sh default

you can also add it to crontab -e
@reboot /home/user/startPS.sh