diff --git a/plugins/mysql/init.d/mysql.service.tpl b/plugins/mysql/init.d/mysql.service.tpl index 3c46380f2..08c7e126c 100644 --- a/plugins/mysql/init.d/mysql.service.tpl +++ b/plugins/mysql/init.d/mysql.service.tpl @@ -8,8 +8,8 @@ After=syslog.target [Service] User=mysql Group=mysql -Type=forking -ExecStart={$SERVER_PATH}/mysql/bin/mysqld --defaults-file={$SERVER_PATH}/mysql/etc/my.cnf --daemonize +Type=simple +ExecStart={$SERVER_PATH}/mysql/bin/mysqld --defaults-file={$SERVER_PATH}/mysql/etc/my.cnf ExecReload=/bin/kill -USR2 $MAINPID TimeoutSec=0 PermissionsStartOnly=true