Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
d8ecc2a0
Commit
d8ecc2a0
authored
Oct 25, 2015
by
Daniel Black
Committed by
Nirbhay Choubey
Nov 02, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-9007: systemd - service mariadb bootstrap
Now this error out and refers to galera_new_cluster.
parent
a2c35494
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
2 deletions
+5
-2
support-files/CMakeLists.txt
support-files/CMakeLists.txt
+1
-1
support-files/mariadb@.service.in
support-files/mariadb@.service.in
+0
-1
support-files/mysql.server.sh
support-files/mysql.server.sh
+4
-0
No files found.
support-files/CMakeLists.txt
View file @
d8ecc2a0
...
...
@@ -79,7 +79,7 @@ IF(UNIX)
IF
(
HAVE_SYSTEMD
)
CONFIGURE_FILE
(
mariadb.service.in
${
CMAKE_CURRENT_BINARY_DIR
}
/mariadb.service @ONLY
)
IF
(
CMAKE_VERSION VERSION_LESS 3.3.0
)
IF
(
NOT RPM
)
CONFIGURE_FILE
(
mariadb@.service.in
${
CMAKE_CURRENT_BINARY_DIR
}
/mariadb@.service @ONLY
)
INSTALL
(
FILES use_galera_new_cluster.conf
...
...
support-files/mariadb@.service.in
View file @
d8ecc2a0
...
...
@@ -61,7 +61,6 @@ PermissionsStartOnly=true
# This isn't a replacement for my.cnf.
# _WSREP_NEW_CLUSTER is for the exclusive use of the script galera_new_cluster
ExecStart=
ExecStart=/usr/sbin/mysqld $MYSQLD_OPTS $_WSREP_NEW_CLUSTER --defaults-file=@INSTALL_SYSCONF2DIR@/my%I.cnf
# Alternate: (remove ConditionPathExists above)
# use [mysqld.INSTANCENAME] as sections in my.cnf
...
...
support-files/mysql.server.sh
View file @
d8ecc2a0
...
...
@@ -443,6 +443,10 @@ case "$mode" in
exit
$r
;;
'bootstrap'
)
if
test
"
$_use_systemctl
"
==
1
;
then
log_failure_msg
"Please use galera_new_cluster to start the mariadb service with --wsrep-new-cluster"
exit
1
fi
# Bootstrap the cluster, start the first node
# that initiate the cluster
echo
$echo_n
"Bootstrapping the cluster.. "
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment