Rename config file during packaging
parent
d36f3a28aa
commit
48fdb239c8
|
@ -182,7 +182,7 @@ if [ $? -ne 0 ]; then
|
|||
fi
|
||||
echo "$INITD_SCRIPT copied to $TMP_WORK_DIR/$INSTALL_ROOT_DIR/versions/$VERSION/scripts"
|
||||
|
||||
cp $SAMPLE_CONFIGURATION $TMP_WORK_DIR/$CONFIG_ROOT_DIR
|
||||
cp $SAMPLE_CONFIGURATION $TMP_WORK_DIR/$CONFIG_ROOT_DIR/influxdb.conf
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "Failed to copy $SAMPLE_CONFIGURATION to packaging directory -- aborting."
|
||||
cleanup_exit 1
|
||||
|
|
|
@ -91,7 +91,7 @@ daemon=/opt/influxdb/influxd
|
|||
pidfile=/var/opt/influxdb/run/influxd.pid
|
||||
|
||||
# Configuration file
|
||||
config=/etc/opt/influxdb/config.sample.toml
|
||||
config=/etc/opt/influxdb/influxdb.conf
|
||||
|
||||
# If the daemon is not there, then exit.
|
||||
[ -x $daemon ] || exit 5
|
||||
|
|
Loading…
Reference in New Issue