From 8acf255563f0852f2b1e04a99d7545ea3848f7c9 Mon Sep 17 00:00:00 2001
From: Colleen Murphy <colleen.murphy@suse.de>
Date: Thu, 12 Jul 2018 13:15:30 +0200
Subject: [PATCH] Fix SysV init script for systemd compatibility

systemd-sysv-generator expects the init info block to start with three
'#' characters, not four. If it doesn't see that, it ignores the
parameters there and systemd will fail to enable the service because it
can't find the 'Default-Start' runlevels. Fix the marker string in the
init script so that puppet can enable the service.

Change-Id: I8757ed80eb860feebc541af81c22fcdda9d8cef1
---
 templates/simpleproxy-mysql.init.erb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/templates/simpleproxy-mysql.init.erb b/templates/simpleproxy-mysql.init.erb
index bd87fdc..ce9a114 100644
--- a/templates/simpleproxy-mysql.init.erb
+++ b/templates/simpleproxy-mysql.init.erb
@@ -1,5 +1,5 @@
 #! /bin/sh
-#### BEGIN INIT INFO
+### BEGIN INIT INFO
 # Provides: simpleproxy-mysql
 # Required-Start:    $remote_fs $syslog
 # Required-Stop:     $remote_fs $syslog