bsd.rb

Path: lib/puppet/provider/service/bsd.rb
Last Update: Fri Aug 03 10:17:44 +0000 2012

Manage FreeBSD services.

Methods

defpath   disable   enable   enabled?   startcmd   stopcmd  

Public Class methods

Public Instance methods

remove service file from rc.conf.d to disable it

enable service by creating a service file under rc.conf.d with the proper contents

if the service file exists in rc.conf.d then it‘s already enabled

Override stop/start commands to use one<cmd>’s and the avoid race condition where provider trys to stop/start the service before it is enabled

[Validate]