diff options
Diffstat (limited to 'init/waagent.service')
-rwxr-xr-x | init/waagent.service | 14 |
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 |