From f254f3aa1b04b0d37733f59445ae8794ad2e8d72 Mon Sep 17 00:00:00 2001 From: Maxim Biro Date: Sun, 19 Jan 2014 02:50:44 -0500 Subject: Fixed some formatting --- other/bootstrap_serverdaemon/README.md | 45 +++++++++++++++++++++++++++------- 1 file changed, 36 insertions(+), 9 deletions(-) (limited to 'other/bootstrap_serverdaemon') diff --git a/other/bootstrap_serverdaemon/README.md b/other/bootstrap_serverdaemon/README.md index d1444ee6..97a952f4 100644 --- a/other/bootstrap_serverdaemon/README.md +++ b/other/bootstrap_serverdaemon/README.md @@ -1,4 +1,4 @@ -Instructions for Debian +##Instructions for Debian The following commands are to be executed as root: @@ -9,21 +9,48 @@ The following commands are to be executed as root: 2. Go over everything in `conf`. Make sure `pid_file_path` matches `PIDFILE` from `tox-dht-bootstrap-server-daemon` -3. Execute: `mv tox-dht-bootstrap-server-daemon /etc/init.d/tox-dht-bootstrap-server-daemon` +3. Execute: +``` +mv tox-dht-bootstrap-server-daemon /etc/init.d/tox-dht-bootstrap-server-daemon +``` -4. Give the right permissions to this file: `chmod 755 /etc/init.d/tox-dht-bootstrap-server-daemon` +4. Give the right permissions to this file: +``` +chmod 755 /etc/init.d/tox-dht-bootstrap-server-daemon +``` -5. Execute: `update-rc.d tox-dht-bootstrap-server-daemon defaults` +5. Execute: +``` +update-rc.d tox-dht-bootstrap-server-daemon defaults +``` -6. Start the service: `service tox-dht-bootstrap-server-daemon start` +6. Start the service: +``` +service tox-dht-bootstrap-server-daemon start +``` -7. Verify that the service is running: `service tox-dht-bootstrap-server-daemon status` +7. Verify that the service is running: +``` +service tox-dht-bootstrap-server-daemon status +``` -You can see daemon's log with `grep "tox-dht-bootstrap-server-daemon" /var/log/syslog` +-- -Troubleshooting: +You can see daemon's log with +``` +grep "tox-dht-bootstrap-server-daemon" /var/log/syslog +``` -1. Check the log for errors with `grep "tox-dht-bootstrap-server-daemon" /var/log/syslog` +**Note that system log is where you find your public key** + +-- + +###Troubleshooting: + +1. Check the log for errors with +``` +grep "tox-dht-bootstrap-server-daemon" /var/log/syslog +``` 2. Check that paths in the beginning of `/etc/init.d/tox-dht-bootstrap-server-daemon` are valid -- cgit v1.2.3