diff --git a/etc/proxysql.cnf b/etc/proxysql.cnf index 833713d55..19669df53 100644 --- a/etc/proxysql.cnf +++ b/etc/proxysql.cnf @@ -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". # ######################################################################################## diff --git a/systemd/system/proxysql.service b/systemd/system/proxysql.service index 4cbeca237..6506a57b1 100644 --- a/systemd/system/proxysql.service +++ b/systemd/system/proxysql.service @@ -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