From b0cf660583d47ae85c1cbd322ab6741bfca47b07 Mon Sep 17 00:00:00 2001 From: Ben Howard Date: Wed, 15 Apr 2015 10:59:38 -0600 Subject: fix-waagent-service.patch No DEP3 Subject or Description header found Gbp-Pq: fix-waagent-service.patch. --- distro/systemd/waagent.service | 13 ------------- distro/systemd/walinuxagent.service | 14 ++++++++++++++ 2 files changed, 14 insertions(+), 13 deletions(-) delete mode 100644 distro/systemd/waagent.service create mode 100644 distro/systemd/walinuxagent.service diff --git a/distro/systemd/waagent.service b/distro/systemd/waagent.service deleted file mode 100644 index a61fc9d..0000000 --- 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 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 -- cgit v1.2.3