Last active
September 1, 2017 20:55
-
-
Save dracos/6307176 to your computer and use it in GitHub Desktop.
Stopping the daemon fixmystreet app, and starting it in debug mode, printing everything to console
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo /etc/init.d/fixmystreet stop | |
$ sudo /etc/init.d/nginx stop | |
$ sudo iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 3000 | |
$ sudo su - fms | |
$ cd /var/www/fixmystreet/fixmystreet | |
$ script/server |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment