We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f97b709 commit de854eeCopy full SHA for de854ee
bin/hostCorrect.sh
@@ -38,7 +38,7 @@ fi
38
if [ "$CURRENT_SERVER" = "$HOSTNAME" ]; then
39
echo "$(date +"%Y-%m-%d %H:%M:%S.%3N") ${HOSTNAME}: Currently configured server name: $CURRENT_SERVER. No correction necessary..."
40
else
41
- echo "$(date +"%Y-%m-%d %H:%M:%S.%3N") ${HOSTNAME}: Currently configured server name: $CURRENT_SERVER. Reconfiguring inputs.conf..."
+ echo "$(date +"%Y-%m-%d %H:%M:%S.%3N") ${HOSTNAME}: Currently configured server name: $CURRENT_SERVER. Reconfiguring server.conf..."
42
cp "$SERVER_FILE" "$SERVER_FILE".$(date +"%m%d%Y")
43
sed -i "s/$CURRENT_SERVER/$HOSTNAME/" "$SERVER_FILE"
44
touch "$RESTART_SERVER_CHECK"
0 commit comments