Skip to content

Commit ce4cdfa

Browse files
grooverdansvoj
authored andcommitted
MDEV-13809: [service] should [Service] in systemd service files
1 parent 64f1fab commit ce4cdfa

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

support-files/mariadb.service.in

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ ExecStartPre=/bin/sh -c "[ ! -e @bindir@/galera_recovery ] && VAR= || \
7878

7979
# Start main service
8080
# MYSQLD_OPTS here is for users to set in /etc/systemd/system/mariadb.service.d/MY_SPECIAL.conf
81-
# Use the [service] section and Environment="MYSQLD_OPTS=...".
81+
# Use the [Service] section and Environment="MYSQLD_OPTS=...".
8282
# This isn't a replacement for my.cnf.
8383
# _WSREP_NEW_CLUSTER is for the exclusive use of the script galera_new_cluster
8484
ExecStart=@sbindir@/mysqld $MYSQLD_OPTS $_WSREP_NEW_CLUSTER $_WSREP_START_POSITION
@@ -105,7 +105,8 @@ UMask=007
105105
##
106106
##
107107
## by creating a file in /etc/systemd/system/mariadb.service.d/MY_SPECIAL.conf
108-
## and adding/setting the following will override this file's settings.
108+
## and adding/setting the following under [Service] will override this file's
109+
## settings.
109110

110111
# Useful options not previously available in [mysqld_safe]
111112

support-files/mariadb@.service.in

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ ExecStartPre=/bin/sh -c "[ ! -e @bindir@/galera_recovery ] && VAR= || \
9191

9292
# Start main service
9393
# MYSQLD_OPTS here is for users to set in /etc/systemd/system/mariadb@.service.d/MY_SPECIAL.conf
94-
# Use the [service] section and Environment="MYSQLD_OPTS=...".
94+
# Use the [Service] section and Environment="MYSQLD_OPTS=...".
9595
# This isn't a replacement for my.cnf.
9696
# _WSREP_NEW_CLUSTER is for the exclusive use of the script galera_new_cluster
9797

@@ -126,7 +126,8 @@ UMask=007
126126
##
127127
##
128128
## by creating a file in /etc/systemd/system/mariadb.service.d/MY_SPECIAL.conf
129-
## and adding/setting the following will override this file's settings.
129+
## and adding/setting the following below [Service] will override this file's
130+
## settings.
130131

131132
# Useful options not previously available in [mysqld_safe]
132133

0 commit comments

Comments
 (0)