Skip to content

Commit

Permalink
Added .sh ending to bootstrapd's init script
Browse files Browse the repository at this point in the history
Fixes some build issues.
  • Loading branch information
nurupo committed Aug 19, 2014
1 parent 92dd71c commit 02f90fc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion other/bootstrap_daemon/Makefile.inc
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ endif

EXTRA_DIST += \
$(top_srcdir)/other/bootstrap_daemon/tox-bootstrapd.conf \
$(top_srcdir)/other/bootstrap_daemon/tox-bootstrapd
$(top_srcdir)/other/bootstrap_daemon/tox-bootstrapd.sh

6 changes: 3 additions & 3 deletions other/bootstrap_daemon/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ sudo chown tox-bootstrapd:tox-bootstrapd /var/lib/tox-bootstrapd/
sudo chmod 700 /var/lib/tox-bootstrapd/
```

Look at the variable declarations in the beginning of `tox-bootstrapd` init script to see if you need to change anything for it to work for you. The default values must be fine for most users and we assume that you use those next.
Look at the variable declarations in the beginning of `tox-bootstrapd.sh` init script to see if you need to change anything for it to work for you. The default values must be fine for most users and we assume that you use those next.

Go over everything in `tox-bootstrapd.conf`. Make sure `pid_file_path` matches `PIDFILE` from `tox-bootstrapd`.
Go over everything in `tox-bootstrapd.conf`. Make sure `pid_file_path` matches `PIDFILE` from `tox-bootstrapd.sh`.

Place `tox-bootstrapd.conf` file to where `CFGFILE` variable from `tox-bootstrapd` tells. By default it's `/etc/tox-bootstrapd.conf`.

Place `tox-bootstrapd` init file at `/etc/init.d/tox-bootstrapd`.
Place `tox-bootstrapd.sh` init file at `/etc/init.d/tox-bootstrapd` (note the disappearance of ".sh" ending).

Set permissions for the init system to run the script:
```sh
Expand Down
File renamed without changes.

0 comments on commit 02f90fc

Please sign in to comment.