mysql 单元控制文件

[Unit]
Description=MySQL Server 5.7.27
Documentation=
After=network-online.target remote-fs.target nss-lookup.target
Wants=network-online.target

[Service]
Type=forking
PIDFile=/usr/local/mysql/mysql-5.7.27/mysqld.pid
ExecStart=/usr/local/mysql/mysql-5.7.27/support-files/mysql.server start
ExecReload=/usr/local/mysql/mysql-5.7.27/support-files/mysql.server restart
ExecStop=/usr/local/mysql/mysql-5.7.27/support-files/mysql.server  stop

[Install]
WantedBy=multi-user.target

 

posted on 2020-11-10 10:26  jonney_wang  阅读(153)  评论(0编辑  收藏  举报

导航