summaryrefslogtreecommitdiffstats
path: root/systemd/mysqld_oracle.service
blob: 68ee265343ab55c44c9d48cf699eb77bd6fc85bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[Unit]
Description=MySQL Server (Standalone)
After=syslog.target network.target

[Service]
User=mysql2
Group=mysql2
Type=simple
PIDFile=/run/mysql-standalone/mysqld.pid
ExecStart=/opt/mysql-standalone/bin/mysqld --defaults-file=/etc/my-standalone.cnf -h /var/lib/mysql-standalone --socket=/run/mysql-standalone/mysql.sock --pid-file=/run/mysql-standalone/mysqld.pid
#ExecStop=/usr/bin/kill $MAINPID
RuntimeDirectory=mysql-standalone

[Install]
WantedBy=multi-user.target