Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docker/bitcoind/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ if ! id bitcoin > /dev/null 2>&1; then

echo "adding user bitcoin ($USERID:$GROUPID)"
groupadd -f -g $GROUPID bitcoin
useradd -r -u $USERID -g $GROUPID bitcoin
useradd -M -u $USERID -g $GROUPID bitcoin
chown -R $USERID:$GROUPID /home/bitcoin
fi

Expand Down
2 changes: 1 addition & 1 deletion docker/clightning/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ if ! id clightning > /dev/null 2>&1; then

echo "adding user clightning ($USERID:$GROUPID)"
groupadd -f -g $GROUPID clightning
useradd -r -u $USERID -g $GROUPID clightning
useradd -M -u $USERID -g $GROUPID clightning
# ensure correct ownership of user home dir
mkdir -p /home/clightning
chown -R $USERID:$GROUPID /home/clightning
Expand Down
4 changes: 2 additions & 2 deletions docker/eclair/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ if ! id eclair > /dev/null 2>&1; then

echo "adding user eclair ($USERID:$GROUPID)"
groupadd -f -g $GROUPID eclair
useradd -r -u $USERID -g $GROUPID eclair
useradd -M -u $USERID -g $GROUPID eclair
# ensure correct ownership of user home dir
mkdir -p /home/eclair
chown -R $USERID:$GROUPID /home/eclair
Expand All @@ -25,7 +25,7 @@ if [ "$1" = "polar-eclair" ]; then
for arg in "$@"
do
if [ "${arg:0:21}" = "--server.public-ips.0" ]; then
# replace the hostname provided in this arg with the IP address of the containing
# replace the hostname provided in this arg with the IP address of the containing
# because Eclair v8+ began including the DNS hostname in the NodeAnnouncements and
# LND throws an error when parsing these messages
JAVA_OPTS="$JAVA_OPTS -Declair.server.public-ips.0=$(hostname -i)"
Expand Down
2 changes: 1 addition & 1 deletion docker/litd/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ if ! id litd > /dev/null 2>&1; then

echo "adding user litd ($USERID:$GROUPID)"
groupadd -f -g $GROUPID litd
useradd -r -u $USERID -g $GROUPID litd
useradd -M -u $USERID -g $GROUPID litd
chown -R $USERID:$GROUPID /home/litd
fi

Expand Down
2 changes: 1 addition & 1 deletion docker/lnd/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ if ! id lnd > /dev/null 2>&1; then

echo "adding user lnd ($USERID:$GROUPID)"
groupadd -f -g $GROUPID lnd
useradd -r -u $USERID -g $GROUPID lnd
useradd -M -u $USERID -g $GROUPID lnd
chown -R $USERID:$GROUPID /home/lnd
fi

Expand Down
2 changes: 1 addition & 1 deletion docker/tapd/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ if ! id tap > /dev/null 2>&1; then

echo "adding user tap ($USERID:$GROUPID)"
groupadd -f -g $GROUPID tap
useradd -r -u $USERID -g $GROUPID tap
useradd -M -u $USERID -g $GROUPID tap
chown -R $USERID:$GROUPID /home/tap
fi

Expand Down