diff options
Diffstat (limited to 'community/percona-server/mysqld.service')
-rw-r--r-- | community/percona-server/mysqld.service | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/community/percona-server/mysqld.service b/community/percona-server/mysqld.service index 15802b226..3d2af276c 100644 --- a/community/percona-server/mysqld.service +++ b/community/percona-server/mysqld.service @@ -6,15 +6,10 @@ After=syslog.target network.target 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 +ExecStart=/usr/bin/mysqld --pid-file=/run/mysqld/mysqld.pid +ExecStartPost=/usr/bin/mysqld-post -# 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] |