Skip to content

Commit e6d8668

Browse files
committed
fix(bug): Setup script not using custom cronicle config file (if provided)
1 parent 4b5dd50 commit e6d8668

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docker/entrypoint.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ export CRONICLE_foreground=1
1919
# Only run setup when setup needs to be done
2020
if [ ! -f $DATA_DIR/.setup_done ]
2121
then
22-
$BIN_DIR/control.sh setup
23-
2422
cp $CONF_DIR/config.json $CONF_DIR/config.json.origin
2523

2624
if [ -f $DATA_DIR/config.json.import ]
@@ -29,6 +27,8 @@ then
2927
cp $DATA_DIR/config.json.import $CONF_DIR/config.json
3028
fi
3129

30+
$BIN_DIR/control.sh setup
31+
3232
# Create plugins directory
3333
mkdir -p $PLUGINS_DIR
3434

0 commit comments

Comments
 (0)