Make apache2 service action configurable (COOK-3900)

Same as #144 but for branch COOK-3900.