Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- this is from:
- https://github.com/kyledrake/coinpunk/blob/master/docs/install-ubuntu.md
- they explain to put in /etc/rc.local the following:
- /usr/bin/sudo -u YOURSHELLUSERNAME sh -c "/usr/bin/bitcoind -daemon"
- I reboot the server and bitcoind is NOT running
- here is the rc.local file:
- #!/bin/sh -e
- #
- # rc.local
- #
- # This script is executed at the end of each multiuser runlevel.
- # Make sure that the script will "exit 0" on success or any other
- # value on error.
- #
- # In order to enable or disable this script just change the execution
- # bits.
- #
- # By default this script does nothing.
- /usr/bin/sudo -u root sh -c "/usr/bin/bitcoind -daemon"
- exit 0
- ----------
- (please note; removing sudo does not work either)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement