summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--other/bootstrap_serverdaemon/README.md45
1 files changed, 36 insertions, 9 deletions
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 @@
1Instructions for Debian 1##Instructions for Debian
2 2
3The following commands are to be executed as root: 3The following commands are to be executed as root:
4 4
@@ -9,21 +9,48 @@ The following commands are to be executed as root:
9 9
102. Go over everything in `conf`. Make sure `pid_file_path` matches `PIDFILE` from `tox-dht-bootstrap-server-daemon` 102. Go over everything in `conf`. Make sure `pid_file_path` matches `PIDFILE` from `tox-dht-bootstrap-server-daemon`
11 11
123. Execute: `mv tox-dht-bootstrap-server-daemon /etc/init.d/tox-dht-bootstrap-server-daemon` 123. Execute:
13```
14mv tox-dht-bootstrap-server-daemon /etc/init.d/tox-dht-bootstrap-server-daemon
15```
13 16
144. Give the right permissions to this file: `chmod 755 /etc/init.d/tox-dht-bootstrap-server-daemon` 174. Give the right permissions to this file:
18```
19chmod 755 /etc/init.d/tox-dht-bootstrap-server-daemon
20```
15 21
165. Execute: `update-rc.d tox-dht-bootstrap-server-daemon defaults` 225. Execute:
23```
24update-rc.d tox-dht-bootstrap-server-daemon defaults
25```
17 26
186. Start the service: `service tox-dht-bootstrap-server-daemon start` 276. Start the service:
28```
29service tox-dht-bootstrap-server-daemon start
30```
19 31
207. Verify that the service is running: `service tox-dht-bootstrap-server-daemon status` 327. Verify that the service is running:
33```
34service tox-dht-bootstrap-server-daemon status
35```
21 36
22You can see daemon's log with `grep "tox-dht-bootstrap-server-daemon" /var/log/syslog` 37--
23 38
24Troubleshooting: 39You can see daemon's log with
40```
41grep "tox-dht-bootstrap-server-daemon" /var/log/syslog
42```
25 43
261. Check the log for errors with `grep "tox-dht-bootstrap-server-daemon" /var/log/syslog` 44**Note that system log is where you find your public key**
45
46--
47
48###Troubleshooting:
49
501. Check the log for errors with
51```
52grep "tox-dht-bootstrap-server-daemon" /var/log/syslog
53```
27 54
282. Check that paths in the beginning of `/etc/init.d/tox-dht-bootstrap-server-daemon` are valid 552. Check that paths in the beginning of `/etc/init.d/tox-dht-bootstrap-server-daemon` are valid
29 56