Skip to content

Commit

Permalink
Update entrypoint.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
thelolagemann authored Dec 12, 2024
1 parent 6bd3fdd commit 06df3da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rootfs/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ adduser --disabled-password --gecos "" --no-create-home --uid "$PUID" xmrig
su xmrig

# if no cfg from mount, copy default
[ ! -f /cfg/config.json ] && cp /usr/local/bin/config.json /cfg/config.json
[ ! -f /cfg/config.json ] && (mkdir /cfg && cp /usr/local/bin/config.json /cfg/config.json)

# set permissions of config
[ -f /cfg/config.json ] && chown $PUID:$PGID /cfg/config.json
Expand Down

0 comments on commit 06df3da

Please sign in to comment.