freebsd.rb

Path: lib/puppet/provider/service/freebsd.rb
Last Update: Wed Dec 09 12:54:29 -0800 2009

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]