diff options
Diffstat (limited to 'other')
-rw-r--r-- | other/bootstrap_serverdaemon/Makefile.inc | 2 | ||||
-rw-r--r-- | other/bootstrap_serverdaemon/README.md | 7 | ||||
-rw-r--r-- | other/bootstrap_serverdaemon/tox_dht_bootstrap_server_daemon.sh (renamed from other/bootstrap_serverdaemon/tox_dht_bootstrap_server_daemon) | 0 |
3 files changed, 5 insertions, 4 deletions
diff --git a/other/bootstrap_serverdaemon/Makefile.inc b/other/bootstrap_serverdaemon/Makefile.inc index 287500b1..5ab17b56 100644 --- a/other/bootstrap_serverdaemon/Makefile.inc +++ b/other/bootstrap_serverdaemon/Makefile.inc | |||
@@ -23,5 +23,5 @@ endif | |||
23 | 23 | ||
24 | EXTRA_DIST += \ | 24 | EXTRA_DIST += \ |
25 | $(top_srcdir)/other/bootstrap_serverdaemon/conf \ | 25 | $(top_srcdir)/other/bootstrap_serverdaemon/conf \ |
26 | $(top_srcdir)/other/bootstrap_serverdaemon/tox_dht_bootstrap_server_daemon | 26 | $(top_srcdir)/other/bootstrap_serverdaemon/tox_dht_bootstrap_server_daemon.sh |
27 | \ No newline at end of file | 27 | \ No newline at end of file |
diff --git a/other/bootstrap_serverdaemon/README.md b/other/bootstrap_serverdaemon/README.md index 0c423675..30cb14aa 100644 --- a/other/bootstrap_serverdaemon/README.md +++ b/other/bootstrap_serverdaemon/README.md | |||
@@ -2,17 +2,18 @@ | |||
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` file change: | 5 | 1. In `tox_dht_bootstrap_server_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` | 10 | 2. Go over everything in `conf`. Make sure `pid_file_path` matches `PIDFILE` from `tox_dht_bootstrap_server_daemon.sh` |
11 | 11 | ||
12 | 3. Execute: | 12 | 3. Execute: |
13 | ``` | 13 | ``` |
14 | mv tox_dht_bootstrap_server_daemon /etc/init.d/tox_dht_bootstrap_server_daemon | 14 | mv tox_dht_bootstrap_server_daemon.sh /etc/init.d/tox_dht_bootstrap_server_daemon |
15 | ``` | 15 | ``` |
16 | *(note that we removed `.sh` ending)* | ||
16 | 17 | ||
17 | 4. Give the right permissions to this file: | 18 | 4. Give the right permissions to this file: |
18 | ``` | 19 | ``` |
diff --git a/other/bootstrap_serverdaemon/tox_dht_bootstrap_server_daemon b/other/bootstrap_serverdaemon/tox_dht_bootstrap_server_daemon.sh index 678db5e3..678db5e3 100644 --- a/other/bootstrap_serverdaemon/tox_dht_bootstrap_server_daemon +++ b/other/bootstrap_serverdaemon/tox_dht_bootstrap_server_daemon.sh | |||