summaryrefslogtreecommitdiffstats
path: root/mysqld.service
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2012-03-24 08:49:47 +0100
committerRemi Collet <fedora@famillecollet.com>2012-03-24 08:49:47 +0100
commitedac62c8244316d930e51ec12a475b82e1e03870 (patch)
treedcc980611c13db947d81a8b2780c73d342f85535 /mysqld.service
parent41f0a259d544a0296d3f46b7e35f63a2e4dc983e (diff)
MySQL, sync with rawhide
Diffstat (limited to 'mysqld.service')
-rw-r--r--mysqld.service6
1 files changed, 6 insertions, 0 deletions
diff --git a/mysqld.service b/mysqld.service
index b7fa095..7289f9d 100644
--- a/mysqld.service
+++ b/mysqld.service
@@ -14,6 +14,9 @@
# [Service]
# LimitNOFILE=10000
+# Note: in F-17 and beyond, /usr/lib/... is recommended in the .include line
+# though /lib/... will still work.
+
[Unit]
Description=MySQL database server
After=syslog.target
@@ -36,5 +39,8 @@ TimeoutSec=300
# 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