diff options
Diffstat (limited to 'debian/patches/000_use_package_upstart.patch')
-rw-r--r-- | debian/patches/000_use_package_upstart.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/debian/patches/000_use_package_upstart.patch b/debian/patches/000_use_package_upstart.patch new file mode 100644 index 0000000..dce93cd --- /dev/null +++ b/debian/patches/000_use_package_upstart.patch @@ -0,0 +1,16 @@ +--- a/waagent ++++ b/waagent +@@ -2242,11 +2242,8 @@ def Install(): + Warn("Moved " + a + " -> " + LibDir + "/" + GetLastPathElement(a) ) + + if IsUbuntu(): +- # Support for Ubuntu's upstart configuration +- filename="waagent.conf" +- filepath = "/etc/init/" + filename +- SetFileContents(filepath, Init_Ubuntu) +- os.chmod(filepath, 0644) ++ # Use the Ubuntu packaged upstart job. ++ Log("Using Ubuntu packaged upstart job. Skipping upstart installation") + + else: + # Regular init.d configurations |