sysown/proxysql#2796: Fix systemctl start proxysql-initial and associated documentation in the proxysql.cnf file (#2797)

v2.0.12
Jeremy Tinley 6 years ago committed by GitHub
parent e668cc83b5
commit 17fa5ce792
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -27,7 +27,7 @@
# file is only used to initial the on-disk database read on the first startup.
#
# In order to FORCE a re-initialise of the on-disk database from the configuration file
# the ProxySQL service should be started with "service proxysql initial".
# the ProxySQL service should be started with "systemctl start proxysql-initial".
#
########################################################################################

@ -8,7 +8,7 @@ RuntimeDirectory=proxysql
#PermissionsStartOnly=true
#ExecStartPre=/usr/bin/mkdir -p /var/run/proxysql /var/run/proxysql
#ExecStartPre=/usr/bin/chown -R proxysql: /var/run/proxysql/
ExecStart=/usr/bin/proxysql --idle-threads -c /etc/proxysql.cnf
ExecStart=/usr/bin/proxysql --idle-threads -c /etc/proxysql.cnf $PROXYSQL_OPTS
PIDFile=/var/lib/proxysql/proxysql.pid
#StandardError=null # all output is in stderr
SyslogIdentifier=proxysql

Loading…
Cancel
Save