Skip to content

Commit

Permalink
Update init script perms for /var/run/proxysql
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick Vyzas authored Feb 12, 2020
1 parent 0a35550 commit 4278980
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions etc/init.d/proxysql
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,11 @@ start() {
getpid
if [ "X$pid" = "X" ]
then
if [ -d /var/run/proxysql ]; then
chmod 1777 /var/run/proxysql
else
mkdir /var/run/proxysql && chmod 1777 /var/run/proxysql
fi
if [ -f $OLDDATADIR/proxysql.db ]
then
if [ ! -f $DATADIR/proxysql.db ]
Expand Down

0 comments on commit 4278980

Please sign in to comment.