diff options
author | root <root@rshg054.dnsready.net> | 2013-03-09 00:04:40 -0800 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-03-09 00:04:40 -0800 |
commit | 92eac63df242654434dceb000bac083f6e81a6b9 (patch) | |
tree | 322b4e24c165c3064505d5dac1a3172f9a28151d /community/percona-server/mysqld.service | |
parent | 53d9a0cf7cf894f08a1f6736b8f8440bd7b18a59 (diff) |
Sat Mar 9 00:04:39 PST 2013
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] |