Skip to content

Commit 61632a2

Browse files
Merge pull request #235784 from msaenzbosupport/patch-11
[Doc-A-thon] Updating command and codeblock
2 parents 1a32960 + 29066c7 commit 61632a2

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

articles/site-recovery/site-recovery-extension-troubleshoot.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,16 @@ Most agent-related or extension-related failures for Linux VMs are caused by iss
8484

8585
If the process isn't running, restart it by using the following commands:
8686

87-
- For Ubuntu: `service walinuxagent start`
88-
- For other distributions: `service waagent start`
87+
- For Ubuntu/Debian:
88+
89+
```bash
90+
sudo systemctl enable --now walinuxagent.service
91+
```
92+
- For other distributions:
93+
94+
```bash
95+
sudo systemctl enable --now waagent.service
96+
```
8997

9098
1. [Configure the automatic restart agent](https://github.com/Azure/WALinuxAgent/wiki/Known-Issues#mitigate_agent_crash).
9199
1. Enable protection of the virtual machine.

0 commit comments

Comments
 (0)