mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
21 lines
454 B
Desktop File
21 lines
454 B
Desktop File
[Unit]
|
|
Description=MySQL database server
|
|
After=syslog.target network.target
|
|
|
|
[Service]
|
|
User=mysql
|
|
Group=mysql
|
|
|
|
ExecStart=/usr/bin/mysqld --pid-file=/var/run/mysqld/mysqld.pid
|
|
ExecStop=/bin/kill -15 $MAINPID
|
|
PIDFile=/var/run/mysqld/mysqld.pid
|
|
WorkingDirectory=/usr
|
|
|
|
# We rely on systemd, not mysqld_safe, to restart mysqld if it dies
|
|
Restart=always
|
|
|
|
# Place temp files in a secure directory, not /tmp
|
|
PrivateTmp=true
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|