summaryrefslogtreecommitdiff
path: root/init/clearlinux/waagent.service
blob: 9afee4544574f2be03a888d19311f6b328c14b3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[Unit]
Description=Azure Linux Agent
Wants=network-online.target sshd.service sshd-keygen.service
After=network-online.target

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

[Service]
Type=simple
ExecStart=/usr/bin/python -u /usr/bin/waagent -daemon
Restart=always
RestartSec=5

[Install]
WantedBy=multi-user.target