diff options
author | mannol <eniz_vukovic@hotmail.com> | 2014-02-01 12:44:08 +0100 |
---|---|---|
committer | mannol <eniz_vukovic@hotmail.com> | 2014-02-01 12:44:08 +0100 |
commit | 984c564cba528328b134578a93a3795a0e0436f3 (patch) | |
tree | 107e1fe071f9861c873a52c953e55fffce4f3aa3 /other/bootstrap_serverdaemon/README.md | |
parent | 88f97078a2700e1a988a225f8b25be0b2e80949a (diff) | |
parent | d5c005f02462b996c067d7ed4f1ef71bbd4e5dd2 (diff) |
Added fixes to rtp and updated phone
Diffstat (limited to 'other/bootstrap_serverdaemon/README.md')
-rw-r--r-- | other/bootstrap_serverdaemon/README.md | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/other/bootstrap_serverdaemon/README.md b/other/bootstrap_serverdaemon/README.md index 30cb14aa..53a25cdb 100644 --- a/other/bootstrap_serverdaemon/README.md +++ b/other/bootstrap_serverdaemon/README.md | |||
@@ -2,44 +2,44 @@ | |||
2 | 2 | ||
3 | The following commands are to be executed as root: | 3 | The following commands are to be executed as root: |
4 | 4 | ||
5 | 1. In `tox_dht_bootstrap_server_daemon.sh` file change: | 5 | 1. In `tox_bootstrap_daemon.sh` file change: |
6 | - `CFG` to where your config file (`conf`) will be; read rights required | 6 | - `CFG` to where your config file (`conf`) will be; read rights required |
7 | - `DAEMON` to point to the executable | 7 | - `DAEMON` to point to the executable |
8 | - `PIDFILE` to point to a pid file daemon would have rights to create | 8 | - `PIDFILE` to point to a pid file daemon would have rights to create |
9 | 9 | ||
10 | 2. Go over everything in `conf`. Make sure `pid_file_path` matches `PIDFILE` from `tox_dht_bootstrap_server_daemon.sh` | 10 | 2. Go over everything in `conf`. Make sure `pid_file_path` matches `PIDFILE` from `tox_bootstrap_daemon.sh` |
11 | 11 | ||
12 | 3. Execute: | 12 | 3. Execute: |
13 | ``` | 13 | ``` |
14 | mv tox_dht_bootstrap_server_daemon.sh /etc/init.d/tox_dht_bootstrap_server_daemon | 14 | mv tox_bootstrap_daemon.sh /etc/init.d/tox_bootstrap_daemon |
15 | ``` | 15 | ``` |
16 | *(note that we removed `.sh` ending)* | 16 | *(note that we removed `.sh` ending)* |
17 | 17 | ||
18 | 4. Give the right permissions to this file: | 18 | 4. Give the right permissions to this file: |
19 | ``` | 19 | ``` |
20 | chmod 755 /etc/init.d/tox_dht_bootstrap_server_daemon | 20 | chmod 755 /etc/init.d/tox_bootstrap_daemon |
21 | ``` | 21 | ``` |
22 | 22 | ||
23 | 5. Execute: | 23 | 5. Execute: |
24 | ``` | 24 | ``` |
25 | update-rc.d tox_dht_bootstrap_server_daemon defaults | 25 | update-rc.d tox_bootstrap_daemon defaults |
26 | ``` | 26 | ``` |
27 | 27 | ||
28 | 6. Start the service: | 28 | 6. Start the service: |
29 | ``` | 29 | ``` |
30 | service tox_dht_bootstrap_server_daemon start | 30 | service tox_bootstrap_daemon start |
31 | ``` | 31 | ``` |
32 | 32 | ||
33 | 7. Verify that the service is running: | 33 | 7. Verify that the service is running: |
34 | ``` | 34 | ``` |
35 | service tox_dht_bootstrap_server_daemon status | 35 | service tox_bootstrap_daemon status |
36 | ``` | 36 | ``` |
37 | 37 | ||
38 | -- | 38 | -- |
39 | 39 | ||
40 | You can see daemon's log with | 40 | You can see daemon's log with |
41 | ``` | 41 | ``` |
42 | grep "tox_dht_bootstrap_server_daemon" /var/log/syslog | 42 | grep "tox_bootstrap_daemon" /var/log/syslog |
43 | ``` | 43 | ``` |
44 | 44 | ||
45 | **Note that system log is where you find your public key** | 45 | **Note that system log is where you find your public key** |
@@ -50,12 +50,12 @@ grep "tox_dht_bootstrap_server_daemon" /var/log/syslog | |||
50 | 50 | ||
51 | 1. Check the log for errors with | 51 | 1. Check the log for errors with |
52 | ``` | 52 | ``` |
53 | grep "tox_dht_bootstrap_server_daemon" /var/log/syslog | 53 | grep "tox_bootstrap_daemon" /var/log/syslog |
54 | ``` | 54 | ``` |
55 | 55 | ||
56 | 2. Check that paths in the beginning of `/etc/init.d/tox_dht_bootstrap_server_daemon` are valid | 56 | 2. Check that paths in the beginning of `/etc/init.d/tox_bootstrap_daemon` are valid |
57 | 57 | ||
58 | 3. Make sure that `PIDFILE` from `/etc/init.d/tox_dht_bootstrap_server_daemon` matches with the `pid_file_path` from `conf` | 58 | 3. Make sure that `PIDFILE` from `/etc/init.d/tox_bootstrap_daemon` matches with the `pid_file_path` from `conf` |
59 | 59 | ||
60 | 4. Make sure you have write permission to keys and pid files | 60 | 4. Make sure you have write permission to keys and pid files |
61 | 61 | ||