Skip to content

Commit 669e7aa

Browse files
committed
systemd: deprecate MYSQLD_OPTS
It was added without a good use case as all MariaDB options where available to uses to put in configuration files. Put a notice of deprecation for now.
1 parent c0849d9 commit 669e7aa

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

support-files/mariadb.service.in

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,8 @@ ProtectHome=true
6666
# ExecStartPre=@scriptdir@/mariadb-install-db
6767

6868
# Start main service
69-
# MYSQLD_OPTS here is for users to set in /etc/systemd/system/mariadb.service.d/MY_SPECIAL.conf
70-
# Use the [Service] section and Environment="MYSQLD_OPTS=...".
71-
# This isn't a replacement for my.cnf.
69+
# MYSQLD_OPTS as a user environment variable is deprecated.
70+
# Please put equivalent configuration in the MariaDB configuration files.
7271
ExecStart=@sbindir@/mariadbd $MYSQLD_OPTS
7372

7473
@SYSTEMD_EXECSTARTPOST@

0 commit comments

Comments
 (0)