Skip to content

Commit

Permalink
#2796: Fix systemctl start proxysql-initial and associated documentat…
Browse files Browse the repository at this point in the history
…ion in the proxysql.cnf file (#2797)
  • Loading branch information
techwolf359 authored May 15, 2020
1 parent e668cc8 commit 17fa5ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion etc/proxysql.cnf
Original file line number Diff line number Diff line change
Expand Up @@ -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".
#
########################################################################################

Expand Down
2 changes: 1 addition & 1 deletion systemd/system/proxysql.service
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 17fa5ce

Please sign in to comment.