Service returns the correct status to puppet

This commit is contained in:
7u83 2020-07-24 19:24:34 +00:00
parent 4e1f770cea
commit b1bba0984a
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ define plnxtools::apacheds::instance(
service {"apacheds_${title}":
start => "$bin_dir/apacheds.sh $title start",
stop => "$bin_dir/apacheds.sh $title stop",
status => "/bin/false",
status => "$bin_dir/apacheds.sh $title status | grep 'is running'",
ensure => running
}
}