From 02f90fc6041452d54db3b5f1e6191593d59b6cec Mon Sep 17 00:00:00 2001 From: Maxim Biro Date: Mon, 18 Aug 2014 22:17:15 -0400 Subject: [PATCH] Added .sh ending to bootstrapd's init script Fixes some build issues. --- other/bootstrap_daemon/Makefile.inc | 2 +- other/bootstrap_daemon/README.md | 6 +++--- .../bootstrap_daemon/{tox-bootstrapd => tox-bootstrapd.sh} | 0 3 files changed, 4 insertions(+), 4 deletions(-) rename other/bootstrap_daemon/{tox-bootstrapd => tox-bootstrapd.sh} (100%) diff --git a/other/bootstrap_daemon/Makefile.inc b/other/bootstrap_daemon/Makefile.inc index 761bb5cf..f274aba0 100644 --- a/other/bootstrap_daemon/Makefile.inc +++ b/other/bootstrap_daemon/Makefile.inc @@ -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 diff --git a/other/bootstrap_daemon/README.md b/other/bootstrap_daemon/README.md index fca4738e..a63ea5de 100644 --- a/other/bootstrap_daemon/README.md +++ b/other/bootstrap_daemon/README.md @@ -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 diff --git a/other/bootstrap_daemon/tox-bootstrapd b/other/bootstrap_daemon/tox-bootstrapd.sh similarity index 100% rename from other/bootstrap_daemon/tox-bootstrapd rename to other/bootstrap_daemon/tox-bootstrapd.sh