summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog6
-rw-r--r--[l---------]debian/walinuxagent.service14
2 files changed, 19 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index d2c1f8c..17060d7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+walinuxagent (2.0.8-0ubuntu6) vivid; urgency=medium
+
+ * Changed systemd unit file to allow for cloud-init to run first.
+
+ -- Ben Howard <ben.howard@ubuntu.com> Tue, 02 Dec 2014 21:53:06 -0700
+
walinuxagent (2.0.8-0ubuntu5) vivid; urgency=medium
* Changes to support systemd
diff --git a/debian/walinuxagent.service b/debian/walinuxagent.service
index 39e4603..9177258 120000..100644
--- a/debian/walinuxagent.service
+++ b/debian/walinuxagent.service
@@ -1 +1,13 @@
-../distro/systemd/waagent.service \ No newline at end of file
+[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