Skip to content

Commit 4627dfd

Browse files
[Doc-A-thon] Updating Linux command.
1 parent d1506bc commit 4627dfd

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+
systemctl enable --now walinuxagent.service
66+
```
67+
- For other distributions:
68+
69+
```bash
70+
systemctl enable --now waagent.service
71+
```
6472

6573

6674
## Uninstall the Mobility service

0 commit comments

Comments
 (0)