summaryrefslogtreecommitdiff
path: root/other/bootstrap_daemon/README.md
diff options
context:
space:
mode:
authorMaxim Biro <nurupo.contributions@gmail.com>2014-08-16 23:19:23 -0400
committerMaxim Biro <nurupo.contributions@gmail.com>2014-08-16 23:19:23 -0400
commit2040fc41d2ee53eb2d462e43e0f306613f48a685 (patch)
treee7b77afaceca61a9a0ac2222086421db6a0a6582 /other/bootstrap_daemon/README.md
parentbb1bb583524cc2a955b2492d0f0dbc2dc570fe4c (diff)
Renamed tox_bootstrap_daemon into tox-bootstrapd
Diffstat (limited to 'other/bootstrap_daemon/README.md')
-rw-r--r--other/bootstrap_daemon/README.md22
1 files changed, 11 insertions, 11 deletions
diff --git a/other/bootstrap_daemon/README.md b/other/bootstrap_daemon/README.md
index 53a25cdb..d13c0415 100644
--- a/other/bootstrap_daemon/README.md
+++ b/other/bootstrap_daemon/README.md
@@ -2,44 +2,44 @@
2 2
3The following commands are to be executed as root: 3The following commands are to be executed as root:
4 4
51. In `tox_bootstrap_daemon.sh` file change: 51. In `tox-bootstrapd.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
102. Go over everything in `conf`. Make sure `pid_file_path` matches `PIDFILE` from `tox_bootstrap_daemon.sh` 102. Go over everything in `conf`. Make sure `pid_file_path` matches `PIDFILE` from `tox-bootstrapd.sh`
11 11
123. Execute: 123. Execute:
13``` 13```
14mv tox_bootstrap_daemon.sh /etc/init.d/tox_bootstrap_daemon 14mv tox-bootstrapd.sh /etc/init.d/tox-bootstrapd
15``` 15```
16*(note that we removed `.sh` ending)* 16*(note that we removed `.sh` ending)*
17 17
184. Give the right permissions to this file: 184. Give the right permissions to this file:
19``` 19```
20chmod 755 /etc/init.d/tox_bootstrap_daemon 20chmod 755 /etc/init.d/tox-bootstrapd
21``` 21```
22 22
235. Execute: 235. Execute:
24``` 24```
25update-rc.d tox_bootstrap_daemon defaults 25update-rc.d tox-bootstrapd defaults
26``` 26```
27 27
286. Start the service: 286. Start the service:
29``` 29```
30service tox_bootstrap_daemon start 30service tox-bootstrapd start
31``` 31```
32 32
337. Verify that the service is running: 337. Verify that the service is running:
34``` 34```
35service tox_bootstrap_daemon status 35service tox-bootstrapd status
36``` 36```
37 37
38-- 38--
39 39
40You can see daemon's log with 40You can see daemon's log with
41``` 41```
42grep "tox_bootstrap_daemon" /var/log/syslog 42grep "tox-bootstrapd" /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_bootstrap_daemon" /var/log/syslog
50 50
511. Check the log for errors with 511. Check the log for errors with
52``` 52```
53grep "tox_bootstrap_daemon" /var/log/syslog 53grep "tox-bootstrapd" /var/log/syslog
54``` 54```
55 55
562. Check that paths in the beginning of `/etc/init.d/tox_bootstrap_daemon` are valid 562. Check that paths in the beginning of `/etc/init.d/tox-bootstrapd` are valid
57 57
583. Make sure that `PIDFILE` from `/etc/init.d/tox_bootstrap_daemon` matches with the `pid_file_path` from `conf` 583. Make sure that `PIDFILE` from `/etc/init.d/tox-bootstrapd` matches with the `pid_file_path` from `conf`
59 59
604. Make sure you have write permission to keys and pid files 604. Make sure you have write permission to keys and pid files
61 61