Skip to content

Commit 5979c94

Browse files
authored
Merge pull request #67 from dev-sec/fix_process_check
fix service process control check
2 parents 48a4b1f + d1a28a5 commit 5979c94

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)