Skip to content

Commit

Permalink
Add back in creating the appropriate run directory, otherwise pid fil…
Browse files Browse the repository at this point in the history
…e cannot be placed, and MySQL may fail to start.
  • Loading branch information
Justin Kulesza committed Apr 8, 2015
1 parent 4a061c4 commit 8d1dd75
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions templates/default/upstart/mysqld.erb
Expand Up @@ -15,6 +15,7 @@ umask 007
kill timeout 300

pre-start script
[ -d /run/<%= @mysql_name %> ] || install -m 755 -o <%= @run_user %> -g <%= @run_group %> -d /run/<%= @mysql_name %>
[ -d <%= @socket_dir %> ] || install -m 755 -o <%= @run_user %> -g <%= @run_group %> -d <%= @socket_dir %>
end script

Expand Down

0 comments on commit 8d1dd75

Please sign in to comment.