mirror of https://github.com/midoks/mdserver-web
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
501 B
22 lines
501 B
[Unit]
|
|
Description=MariaDB Server: The open source relational database
|
|
Documentation=https://mariadb.org/download/?t=mariadb
|
|
After=network.service
|
|
After=syslog.target
|
|
|
|
[Service]
|
|
User=mysql
|
|
Group=mysql
|
|
Type=simple
|
|
ExecStart={$SERVER_PATH}/mariadb/bin/mysqld --defaults-file={$SERVER_PATH}/mariadb/etc/my.cnf
|
|
ExecReload=/bin/kill -USR2 $MAINPID
|
|
PermissionsStartOnly=true
|
|
LimitNOFILE=5000
|
|
Restart=on-failure
|
|
RestartSec=10
|
|
RestartPreventExitStatus=1
|
|
PrivateTmp=false
|
|
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target |