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
This commit is contained in:
Colleen Murphy 2018-07-12 13:15:30 +02:00
parent f7de5af0f9
commit 8acf255563

View File

@ -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