Skip to content

Commit

Permalink
chore: format shell
Browse files Browse the repository at this point in the history
  • Loading branch information
brnhensley authored Feb 22, 2025
1 parent 9441d87 commit bffe156
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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
Expand Down

0 comments on commit bffe156

Please sign in to comment.