Skip to content

Commit d1a28a5

Browse files
author
Sebastian Gumprich
committed
fix service process control check
the process is called mysqld even on mariadb installation Signed-off-by: Sebastian Gumprich <[email protected]>
1 parent 48a4b1f commit d1a28a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controls/mysql_conf.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
control 'mysql-conf-02' do
6868
impact 0.5
6969
title 'only one instance of mysql should run on a server'
70-
describe command("pgrep -x -c #{service_name}") do
70+
describe command('pgrep -x -c mysqld') do
7171
its(:stdout) { should match(/^1$/) }
7272
end
7373
end

0 commit comments

Comments
 (0)