This would re-align us back with our previous releases, where SysV based systems did had the script, for example a quick grep shows:
And also would align us with upstream and, more importantly, with documentation: where we can read:
Reinitializing ProxySQL from the config file (after first startup the DB file is used instead of the config file): # If you are using the init script run: /etc/init.d/proxysql initial # or service proxysql initial # If you are using the systemd unit file run: systemctl start proxysql-initial # or service proxysql-initial start
And we do defer users to that documentation in where we link like:
The ProxySQL documentation provides information on installing and running ProxySQL and the ProxySQL admin tools.
So it does look like we should be providing such functionality either as a systend unit or via some other specialized command, but upstream compatibility seems most sensible idea.
Would be nice to pull this commit (that stems from https://github.com/sysown/proxysql/issues/2334) which adds a systemd unit that allows users to run
proxysql --initial
.This would re-align us back with our previous releases, where SysV based systems did had the script, for example a quick grep shows:
And also would align us with upstream and, more importantly, with documentation: where we can read:
And we do defer users to that documentation in where we link like:
So it does look like we should be providing such functionality either as a systend unit or via some other specialized command, but upstream compatibility seems most sensible idea.
Hope the FR makes sense!