From bffe1565b24b2b42264e29a60a2c0bb876c53d82 Mon Sep 17 00:00:00 2001 From: Brian Hensley <48165493+brnhensley@users.noreply.github.com> Date: Fri, 21 Feb 2025 16:08:48 -0800 Subject: [PATCH] chore: format shell --- .../host-links-missing-java-apps-apm-summary.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/content/docs/apm/agents/java-agent/troubleshooting/host-links-missing-java-apps-apm-summary.mdx b/src/content/docs/apm/agents/java-agent/troubleshooting/host-links-missing-java-apps-apm-summary.mdx index d5af76a8c79..441e5ab378b 100644 --- a/src/content/docs/apm/agents/java-agent/troubleshooting/host-links-missing-java-apps-apm-summary.mdx +++ b/src/content/docs/apm/agents/java-agent/troubleshooting/host-links-missing-java-apps-apm-summary.mdx @@ -66,7 +66,7 @@ Configure the hostname settings so that the New Relic infrastructure agent in a ``` 3. Use the command line to set the current hostname, so the changes take effect without restarting the server: - ``` + ```shell sudo hostname myhost.example.com ``` 4. Restart the Java agent and infrastructure agent to register the new hostname. @@ -80,7 +80,7 @@ Configure the hostname settings so that the New Relic infrastructure agent in a This example script configures all hostname settings. Depending on your Linux distribution, the `echo` command to `/etc/sysconfig/network` may not be required. - ``` + ```shell #!/bin/sh # Set the hostname so the infrastructure agent