annotate installer.sh @ 101:52e44ee1c791 tip master

enabled all scores in autostart script
author Rob Canning <rc@kiben.net>
date Tue, 21 Apr 2015 16:20:57 +0100
parents a1eacfae4fcf
children
rev   line source
root@51 1 #!/bin/sh
rc-web@71 2
rc-web@71 3 #sudo dpkg-reconfigure dash
rc-web@71 4 # use bash instead of dash on ubuntu systems
rc-web@71 5
rc-web@71 6 #sudo apt-get install phantomjs supervisor
rc-web@71 7 #npm install sockets.io node-static requirejs
rc-web@71 8
root@51 9 mkdir -p /usr/local/bin
root@51 10 cp -pa nodescore /usr/local/bin/
root@51 11
root@51 12 mkdir /usr/share/nodescore
root@51 13 cp -pa www *.js /usr/share/nodescore/
rc-web@58 14 chown -R rob:www-data /usr/share/nodescore/
root@51 15 cp -pa nodescored /etc/init.d/
root@51 16 chmod 755 /etc/init.d/nodescored
root@51 17 update-rc.d nodescored defaults