665d94
diff -up mariadb-10.1.8/support-files/CMakeLists.txt.p9 mariadb-10.1.8/support-files/CMakeLists.txt
2c6cfb
--- mariadb-10.2.32/support-files/CMakeLists.txt	2020-05-08 13:45:27.000000000 +0200
2c6cfb
+++ mariadb-10.2.32/support-files/CMakeLists.txt_pacthed	2020-05-13 10:11:30.884190396 +0200
2c6cfb
@@ -100,7 +100,8 @@ IF(UNIX)
665d94
   ENDIF()
665d94
 
665d94
   CONFIGURE_FILE(mariadb.pc.in ${CMAKE_CURRENT_BINARY_DIR}/mariadb.pc @ONLY)
2c6cfb
-  INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/mariadb.pc DESTINATION ${INSTALL_LIBDIR}/pkgconfig COMPONENT Development)
665d94
+  CONFIGURE_FILE(rpm/server.cnf ${CMAKE_CURRENT_BINARY_DIR}/rpm/server.cnf @ONLY)
2c6cfb
+  INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/mariadb.pc DESTINATION ${INSTALL_SHAREDIR}/pkgconfig COMPONENT Development)
665d94
 
665d94
   INSTALL(FILES mysql.m4 DESTINATION ${INSTALL_SHAREDIR}/aclocal COMPONENT Development)
2c6cfb
   
2c6cfb
diff -up mariadb-10.0.15/support-files/rpm/server.cnf.ownsetup mariadb-10.0.15/support-files/rpm/server.cnf
2c6cfb
--- mariadb-10.0.15/support-files/rpm/server.cnf.ownsetup	2015-01-24 23:55:55.110063592 +0100
2c6cfb
+++ mariadb-10.0.15/support-files/rpm/server.cnf	2015-01-24 23:57:42.308114387 +0100
665d94
@@ -9,7 +9,16 @@
665d94
 [server]
665d94
 
665d94
 # this is only for the mysqld standalone daemon
665d94
+# Settings user and group are ignored when systemd is used.
665d94
+# If you need to run mysqld under a different user or group,
665d94
+# customize your systemd unit file for mysqld/mariadb according to the
665d94
+# instructions in http://fedoraproject.org/wiki/Systemd
665d94
 [mysqld]
665d94
+datadir=@MYSQL_DATADIR@
665d94
+socket=@MYSQL_UNIX_ADDR@
665d94
+log-error=@LOG_LOCATION@
665d94
+pid-file=@PID_FILE_DIR@/@DAEMON_NO_PREFIX@.pid
665d94
+
665d94
 
665d94
 #
665d94
 # * Galera-related settings