From 8a447e93bf28b5225dc917b559820cbc0ac352fb Mon Sep 17 00:00:00 2001 From: mathias Date: Tue, 2 Feb 2016 19:26:23 +0100 Subject: [PATCH] fix for the init script, see issue 425 --- etc/init.d/proxysql | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/etc/init.d/proxysql b/etc/init.d/proxysql index 2314731a31..edd8634c8f 100755 --- a/etc/init.d/proxysql +++ b/etc/init.d/proxysql @@ -1,14 +1,16 @@ #!/bin/bash # -# Provides : proxysql -# Required-Start : $local_fs -# Required-Stop : $local_fs -# Default-Start : 2 3 4 5 -# Default-Stop : 0 1 6 -# Short-Description : High Performance Advanced Proxy for MySQL -# Description : High Performance and Advanced Proxy for MySQL and forks. -# It provides advanced features like connection pool, query routing and rewrite, -# firewalling, throttling, real time analysis, error-free failover +### BEGIN INIT INFO +# Provides: proxysql +# Required-Start: $local_fs +# Required-Stop: $local_fs +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: High Performance Advanced Proxy for MySQL +# Description : High Performance and Advanced Proxy for MySQL and forks. +# It provides advanced features like connection pool, query routing and rewrite, +# firewalling, throttling, real time analysis, error-free failover +### END INIT INFO DATADIR="/var/run/proxysql" OPTS="-c /etc/proxysql.cnf -D $DATADIR"