[__consul_agent] Add LSB header so that innserv doe not fail

This commit is contained in:
Nico Schottelius 2018-05-27 19:07:57 +02:00
parent ab696a8cb8
commit 709c216096

View file

@ -18,6 +18,16 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with cdist. If not, see <http://www.gnu.org/licenses/>. # along with cdist. If not, see <http://www.gnu.org/licenses/>.
# #
### BEGIN INIT INFO
# Provides: consul
# Required-Start: $network $local_fs $remote_fs
# Required-Stop: $local_fs
# Should-Start:
# Should-Stop:
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: libvirt management daemon
### END INIT INFO
if [ -f "/etc/default/consul" ]; then if [ -f "/etc/default/consul" ]; then
. /etc/default/consul . /etc/default/consul