summaryrefslogtreecommitdiff
path: root/init/debian/walinuxagent.service
blob: 05129159009eea12a6e627e29ea0893616f803fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#
# 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

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

[Service]
Type=simple
ExecStart=/usr/bin/python3 -u /usr/sbin/waagent -daemon
Restart=on-failure

[Install]
WantedBy=multi-user.target