diff options
Diffstat (limited to 'mysqld.service')
-rw-r--r-- | mysqld.service | 6 |
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 |