Skip to content

Commit

Permalink
Renamed files for less confusion
Browse files Browse the repository at this point in the history
  • Loading branch information
nurupo committed Aug 17, 2014
1 parent ba7058c commit 69e619b
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions other/bootstrap_daemon/Makefile.inc
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ tox_bootstrapd_LDADD = \
endif

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

8 changes: 4 additions & 4 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.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.
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.

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

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

Place `tox-bootstrapd.sh` init file at `/etc/init.d/tox-bootstrapd`.
Place `tox-bootstrapd` init file at `/etc/init.d/tox-bootstrapd`.

Set permissions for the init system to run the script:
```sh
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions other/bootstrap_daemon/tox-bootstrapd.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@
#define SLEEP_TIME_MILLISECONDS 30
#define sleep usleep(1000*SLEEP_TIME_MILLISECONDS)

#define DEFAULT_PID_FILE_PATH ".tox-bootstrapd.pid"
#define DEFAULT_KEYS_FILE_PATH ".tox-bootstrapd.keys"
#define DEFAULT_PID_FILE_PATH "tox-bootstrapd.pid"
#define DEFAULT_KEYS_FILE_PATH "tox-bootstrapd.keys"
#define DEFAULT_PORT 33445
#define DEFAULT_ENABLE_IPV6 0 // 1 - true, 0 - false
#define DEFAULT_ENABLE_LAN_DISCOVERY 1 // 1 - true, 0 - false
Expand Down
File renamed without changes.

0 comments on commit 69e619b

Please sign in to comment.