Stops the service correctly when purging

This commit is contained in:
7u83 2020-07-25 09:37:29 +00:00
parent be9a853e50
commit 44a5e3f3f1
1 changed files with 1 additions and 0 deletions

View File

@ -116,6 +116,7 @@ define plnxtools::apacheds::instance(
}
}
else{
$bin_dir = "${plnxtools::apacheds::opt_dir}/${plnxtools::apacheds::appname}/bin"
service {"apacheds_${title}":
start => "$bin_dir/apacheds.sh $title start",
stop => "$bin_dir/apacheds.sh $title stop",