summaryrefslogtreecommitdiff
path: root/init/waagent.service
diff options
context:
space:
mode:
Diffstat (limited to 'init/waagent.service')
-rwxr-xr-xinit/waagent.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/init/waagent.service b/init/waagent.service
new file mode 100755
index 0000000..f465f79
--- /dev/null
+++ b/init/waagent.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=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
+Restart=always
+
+[Install]
+WantedBy=multi-user.target