summaryrefslogtreecommitdiff
path: root/debian/patches/fix-waagent-service.patch
blob: a44cd7524d5bc7f7e08616b98cc558b67cd3f5b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
--- a/distro/systemd/waagent.service
+++ /dev/null
@@ -1,13 +0,0 @@
-[Unit]
-Description=Windows Azure Linux Agent
-After=network.target
-After=sshd.service
-ConditionFileIsExecutable=/usr/sbin/waagent
-ConditionPathExists=/etc/waagent.conf
-
-[Service]
-Type=simple
-ExecStart=/usr/sbin/waagent -daemon
-
-[Install]
-WantedBy=multi-user.target
--- /dev/null
+++ b/distro/systemd/walinuxagent.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Windows Azure Linux Agent
+After=network.target
+Wants=sshd.service sshd-keygen.service
+ConditionFileIsExecutable=/usr/sbin/waagent
+ConditionPathExists=/etc/waagent.conf
+
+[Service]
+Type=simple
+ExecStart=/usr/sbin/waagent -daemon
+
+[Install]
+WantedBy=multi-user.target