Update mysql.service.tpl
This commit is contained in:
parent
fe47f5c77c
commit
d576e965dd
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue