From d576e965dd916c7cf6040bca101f9a044aaaaddf Mon Sep 17 00:00:00 2001 From: midoks Date: Sat, 18 Jun 2022 22:29:21 +0800 Subject: [PATCH] Update mysql.service.tpl --- plugins/mysql/init.d/mysql.service.tpl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/mysql/init.d/mysql.service.tpl b/plugins/mysql/init.d/mysql.service.tpl index 02da45de3..7627ad891 100644 --- a/plugins/mysql/init.d/mysql.service.tpl +++ b/plugins/mysql/init.d/mysql.service.tpl @@ -1,12 +1,16 @@ [Unit] Description=MySQL Server +Documentation=man:mysqld(8) +Documentation=http://dev.mysql.com/doc/refman/en/using-systemd.html After=network.service +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 +#ExecReload=/bin/kill -USR2 $MAINPID TimeoutSec=0 PermissionsStartOnly=true LimitNOFILE=5000