20 lines
403 B
Diff
20 lines
403 B
Diff
|
--- bin/waagent.orig
|
||
|
+++ bin/waagent
|
||
|
@@ -1,4 +1,4 @@
|
||
|
-#!/usr/bin/env python
|
||
|
+#!/usr/bin/python3
|
||
|
#
|
||
|
# Azure Linux Agent
|
||
|
#
|
||
|
--- init/waagent.service.orig
|
||
|
+++ init/waagent.service
|
||
|
@@ -8,7 +8,7 @@ ConditionPathExists=/etc/waagent.conf
|
||
|
|
||
|
[Service]
|
||
|
Type=simple
|
||
|
-ExecStart=/usr/bin/python -u /usr/sbin/waagent -daemon
|
||
|
+ExecStart=/usr/bin/python3 -u /usr/sbin/waagent -daemon
|
||
|
Restart=always
|
||
|
RestartSec=5
|
||
|
|