Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions init/arch/waagent.service
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ After=network-online.target

ConditionFileIsExecutable=/usr/bin/waagent
ConditionPathExists=/etc/waagent.conf
ConditionVirtualization=microsoft

[Service]
Type=simple
Expand Down
1 change: 1 addition & 0 deletions init/clearlinux/waagent.service
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ After=network-online.target

ConditionFileIsExecutable=/usr/bin/waagent
ConditionPathExists=/usr/share/defaults/waagent/waagent.conf
ConditionVirtualization=microsoft

[Service]
Type=simple
Expand Down
1 change: 1 addition & 0 deletions init/mariner/waagent.service
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ After=systemd-networkd-wait-online.service cloud-init.service

ConditionFileIsExecutable=/usr/bin/waagent
ConditionPathExists=/etc/waagent.conf
ConditionVirtualization=microsoft

[Service]
Type=simple
Expand Down
1 change: 1 addition & 0 deletions init/photonos/waagent.service
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ After=systemd-networkd-wait-online.service cloud-init.service

ConditionFileIsExecutable=/usr/bin/waagent
ConditionPathExists=/etc/waagent.conf
ConditionVirtualization=microsoft

[Service]
Type=simple
Expand Down
1 change: 1 addition & 0 deletions init/redhat/py2/waagent.service
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ After=network-online.target

ConditionFileIsExecutable=/usr/sbin/waagent
ConditionPathExists=/etc/waagent.conf
ConditionVirtualization=microsoft

[Service]
Type=simple
Expand Down
1 change: 1 addition & 0 deletions init/redhat/waagent.service
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ After=network-online.target

ConditionFileIsExecutable=/usr/sbin/waagent
ConditionPathExists=/etc/waagent.conf
ConditionVirtualization=microsoft
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks fine to me, although it does differ from the patch we're carrying in Fedora in that it's not a triggering conditional.

@cjp256 do you still feel that it should be a triggering conditional? In my opinion, it's just as easy to systemctl --edit --full waagent.service as it is to drop in an additional triggering conditional, but I've not thought hard about it.


[Service]
Type=simple
Expand Down
1 change: 1 addition & 0 deletions init/sles/waagent.service
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ After=network-online.target

ConditionFileIsExecutable=/usr/sbin/waagent
ConditionPathExists=/etc/waagent.conf
ConditionVirtualization=microsoft

[Service]
Type=simple
Expand Down
1 change: 1 addition & 0 deletions init/waagent.service
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ After=network-online.target

ConditionFileIsExecutable=/usr/sbin/waagent
ConditionPathExists=/etc/waagent.conf
ConditionVirtualization=microsoft

[Service]
Type=simple
Expand Down