blob: 3cf47c5b620cbd33e3affa98ad2a52b9a2249d52 (
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 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
|