Skip to content

Commit 392290b

Browse files
committed
Remove .sh ext from service install/init scripts
1 parent f6f1eac commit 392290b

File tree

14 files changed

+3
-3
lines changed

14 files changed

+3
-3
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

bwt/run

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export NO_WAIT_SYNC=${NO_WAIT_SYNC:-1}
2727
export GAP_LIMIT=${GAP_LIMIT:-300}
2828

2929
# Enable real-time updates using unix socket notifications when bitcoind is running locally
30-
# Also see init.sh and https://github.com/bwt-dev/bwt#real-time-indexing
30+
# Also see ./init and https://github.com/bwt-dev/bwt#real-time-indexing
3131
if [ "$BITCOIND_MODE" == "local" ]; then
3232
mkdir -p /run/bwt && chown bwt /run/bwt
3333
export UNIX_LISTENER_PATH=/run/bwt/notify-socket UNIX_LISTENER_MODE=511 # 777 in octal
File renamed without changes.

entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ source /ez/networking.sh
5050

5151
# Give services an opportunity to run early sanity checks and export variables
5252
# that'll be visible to other services across the container.
53-
source <(cat /etc/services.d/*/init.sh)
53+
source <(cat /etc/services.d/*/init)
5454

5555
# Keep env vars to filesystem to make them available for `docker exec` commands and SSH sessions
5656
mkdir /var/run/s6 && s6-dumpenv /var/run/s6/container_environment

install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ln -s /data/config /important
1111

1212
install() {
1313
local name=$1
14-
(cd $name && ./install.sh)
14+
(cd $name && ./install)
1515
[ -f $name/fix-attrs ] && mv $name/fix-attrs /etc/fix-attrs.d/$name
1616
[ -f $name/run ] && mv $name /etc/services.d/
1717
true

0 commit comments

Comments
 (0)