diff options
-rw-r--r-- | other/bootstrap_serverdaemon/README.md | 45 |
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 @@ | |||
1 | Instructions for Debian | 1 | ##Instructions for Debian |
2 | 2 | ||
3 | The following commands are to be executed as root: | 3 | The 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 | ||
10 | 2. Go over everything in `conf`. Make sure `pid_file_path` matches `PIDFILE` from `tox-dht-bootstrap-server-daemon` | 10 | 2. Go over everything in `conf`. Make sure `pid_file_path` matches `PIDFILE` from `tox-dht-bootstrap-server-daemon` |
11 | 11 | ||
12 | 3. Execute: `mv tox-dht-bootstrap-server-daemon /etc/init.d/tox-dht-bootstrap-server-daemon` | 12 | 3. Execute: |
13 | ``` | ||
14 | mv tox-dht-bootstrap-server-daemon /etc/init.d/tox-dht-bootstrap-server-daemon | ||
15 | ``` | ||
13 | 16 | ||
14 | 4. Give the right permissions to this file: `chmod 755 /etc/init.d/tox-dht-bootstrap-server-daemon` | 17 | 4. Give the right permissions to this file: |
18 | ``` | ||
19 | chmod 755 /etc/init.d/tox-dht-bootstrap-server-daemon | ||
20 | ``` | ||
15 | 21 | ||
16 | 5. Execute: `update-rc.d tox-dht-bootstrap-server-daemon defaults` | 22 | 5. Execute: |
23 | ``` | ||
24 | update-rc.d tox-dht-bootstrap-server-daemon defaults | ||
25 | ``` | ||
17 | 26 | ||
18 | 6. Start the service: `service tox-dht-bootstrap-server-daemon start` | 27 | 6. Start the service: |
28 | ``` | ||
29 | service tox-dht-bootstrap-server-daemon start | ||
30 | ``` | ||
19 | 31 | ||
20 | 7. Verify that the service is running: `service tox-dht-bootstrap-server-daemon status` | 32 | 7. Verify that the service is running: |
33 | ``` | ||
34 | service tox-dht-bootstrap-server-daemon status | ||
35 | ``` | ||
21 | 36 | ||
22 | You can see daemon's log with `grep "tox-dht-bootstrap-server-daemon" /var/log/syslog` | 37 | -- |
23 | 38 | ||
24 | Troubleshooting: | 39 | You can see daemon's log with |
40 | ``` | ||
41 | grep "tox-dht-bootstrap-server-daemon" /var/log/syslog | ||
42 | ``` | ||
25 | 43 | ||
26 | 1. 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 | |||
50 | 1. Check the log for errors with | ||
51 | ``` | ||
52 | grep "tox-dht-bootstrap-server-daemon" /var/log/syslog | ||
53 | ``` | ||
27 | 54 | ||
28 | 2. Check that paths in the beginning of `/etc/init.d/tox-dht-bootstrap-server-daemon` are valid | 55 | 2. Check that paths in the beginning of `/etc/init.d/tox-dht-bootstrap-server-daemon` are valid |
29 | 56 | ||