/lib/systemd/system/walinuxagent.service is in walinuxagent 2.1.3-0ubuntu4.
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 | [Unit]
Description=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
[Service]
Type=simple
ExecStart=/usr/bin/python3 /usr/sbin/waagent -daemon
Restart=always
[Install]
WantedBy=multi-user.target
|