Skip to content

Commit 1a85e0b

Browse files
Merge pull request #235747 from msaenzbosupport/patch-11
[Doc-A-thon] Updating Linux command.
2 parents d79d3ec + c37a0d2 commit 1a85e0b

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

articles/site-recovery/azure-to-azure-replicate-after-migration.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,16 @@ Install the [Azure Linux VM](../virtual-machines/extensions/agent-linux.md) agen
5959

6060
1. Run this command: **ps -e** to ensure that the Azure agent is running on the Linux VM.
6161
2. If the process isn't running, restart it by using the following commands:
62-
- For Ubuntu: **service walinuxagent start**
63-
- For other distributions: **service waagent start**
62+
- For Ubuntu/Debian:
63+
64+
```bash
65+
sudo systemctl enable --now walinuxagent.service
66+
```
67+
- For other distributions:
68+
69+
```bash
70+
sudo systemctl enable --now waagent.service
71+
```
6472

6573

6674
## Uninstall the Mobility service

0 commit comments

Comments
 (0)