Merge pull request #471 from vermeire-mathias/issue425

fix for the init script, see issue 425
pull/474/head
René Cannaò 10 years ago
commit d7b1d513ca

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

Loading…
Cancel
Save