Added .sh to the script

This commit is contained in:
Maxim Biro 2014-01-19 17:21:24 -05:00
parent d8f2072ab5
commit c3763cb708
3 changed files with 5 additions and 4 deletions

View File

@ -23,5 +23,5 @@ endif
EXTRA_DIST += \ EXTRA_DIST += \
$(top_srcdir)/other/bootstrap_serverdaemon/conf \ $(top_srcdir)/other/bootstrap_serverdaemon/conf \
$(top_srcdir)/other/bootstrap_serverdaemon/tox_dht_bootstrap_server_daemon $(top_srcdir)/other/bootstrap_serverdaemon/tox_dht_bootstrap_server_daemon.sh

View File

@ -2,17 +2,18 @@
The following commands are to be executed as root: The following commands are to be executed as root:
1. In `tox_dht_bootstrap_server_daemon` file change: 1. In `tox_dht_bootstrap_server_daemon.sh` file change:
- `CFG` to where your config file (`conf`) will be; read rights required - `CFG` to where your config file (`conf`) will be; read rights required
- `DAEMON` to point to the executable - `DAEMON` to point to the executable
- `PIDFILE` to point to a pid file daemon would have rights to create - `PIDFILE` to point to a pid file daemon would have rights to create
2. Go over everything in `conf`. Make sure `pid_file_path` matches `PIDFILE` from `tox_dht_bootstrap_server_daemon` 2. Go over everything in `conf`. Make sure `pid_file_path` matches `PIDFILE` from `tox_dht_bootstrap_server_daemon.sh`
3. Execute: 3. Execute:
``` ```
mv tox_dht_bootstrap_server_daemon /etc/init.d/tox_dht_bootstrap_server_daemon mv tox_dht_bootstrap_server_daemon.sh /etc/init.d/tox_dht_bootstrap_server_daemon
``` ```
*(note that we removed `.sh` ending)*
4. Give the right permissions to this file: 4. Give the right permissions to this file:
``` ```