summarylogtreecommitdiffstats
path: root/mysqld_service.patch
blob: 5f7136ff65c1bcc819ecdffd019e4db5eb2037bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
--- a/usr/lib/systemd/system/mysqld.service
+++ b/usr/lib/systemd/system/mysqld.service
@@ -52,7 +52,7 @@
 ExecStart=/usr/bin/mysqld $MYSQLD_OPTS
 
 # Use this to switch malloc implementation
-EnvironmentFile=-/etc/sysconfig/mysql
+EnvironmentFile=-/etc/conf.d/mysql
 
 # Sets open_files_limit
 LimitNOFILE = 10000
@@ -64,4 +64,4 @@
 # Set enviroment variable MYSQLD_PARENT_PID. This is required for restart.
 Environment=MYSQLD_PARENT_PID=1
 
-PrivateTmp=false
+PrivateTmp=true

--- a/usr/lib/systemd/system/mysqld@.service
+++ b/usr/lib/systemd/system/mysqld@.service
@@ -52,7 +52,7 @@
 ExecStart=/usr/bin/mysqld --defaults-group-suffix=@%I $MYSQLD_OPTS
 
 # Use this to switch malloc implementation
-EnvironmentFile=-/etc/sysconfig/mysql
+EnvironmentFile=-/etc/conf.d/mysql
 
 # Sets open_files_limit
 LimitNOFILE = 10000
@@ -64,4 +64,4 @@
 # Set enviroment variable MYSQLD_PARENT_PID. This is required for restart.
 Environment=MYSQLD_PARENT_PID=1
 
-PrivateTmp=false
+PrivateTmp=true