/lib/systemd/system/walinuxagent.service is in walinuxagent 2.2.21+really2.2.20-0ubuntu3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | #
# NOTE:
# This file hosted on WALinuxAgent repository only for reference purposes.
# Please refer to a recent image to find out the up-to-date systemd unit file.
#
[Unit]
Description=Azure Linux Agent
After=network-online.target cloud-init.service
Wants=network-online.target sshd.service sshd-keygen.service
ConditionFileIsExecutable=/usr/sbin/waagent
ConditionPathExists=/etc/waagent.conf
[Service]
Type=simple
ExecStart=/usr/bin/python3 -u /usr/sbin/waagent -daemon
Restart=always
[Install]
WantedBy=multi-user.target
|