summaryrefslogtreecommitdiff
path: root/distro/systemd/walinuxagent.service
diff options
context:
space:
mode:
authorBen Howard <ben.howard@ubuntu.com>2015-04-15 10:59:38 -0600
committerusd-importer <ubuntu-server@lists.ubuntu.com>2015-04-15 21:53:50 +0000
commitb0cf660583d47ae85c1cbd322ab6741bfca47b07 (patch)
treea75272fc544048df71778bec60407ade8266a3b3 /distro/systemd/walinuxagent.service
parent8a7a8e7e87594a8c2d13e37bd956dc25d3778d94 (diff)
downloadvyos-walinuxagent-b0cf660583d47ae85c1cbd322ab6741bfca47b07.tar.gz
vyos-walinuxagent-b0cf660583d47ae85c1cbd322ab6741bfca47b07.zip
fix-waagent-service.patch
No DEP3 Subject or Description header found Gbp-Pq: fix-waagent-service.patch.
Diffstat (limited to 'distro/systemd/walinuxagent.service')
-rw-r--r--distro/systemd/walinuxagent.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/distro/systemd/walinuxagent.service b/distro/systemd/walinuxagent.service
new file mode 100644
index 0000000..2438a0a
--- /dev/null
+++ b/distro/systemd/walinuxagent.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=Windows Azure Linux Agent
+After=network-online.target cloud-final.service
+Wants=network-online.target sshd.service sshd-keygen.service cloud-final.service
+ConditionFileIsExecutable=/usr/sbin/waagent
+ConditionPathExists=/etc/waagent.conf
+ConditionVirtualization=microsoft
+
+[Service]
+Type=simple
+ExecStart=/usr/sbin/waagent -daemon
+
+[Install]
+WantedBy=multi-user.target