pf::cmd::pf::service add documentation
pfcmd service <service> [start|stop|restart|status|watch]
stop/stop/restart specified service status returns PID of specified PF daemon or 0 if not running watch acts as a service watcher which can send email/restart the services
Services managed by PacketFence:
dhcpd | dhcpd daemon httpd.webservices| Apache Webservices httpd.admin | Apache Web admin httpd.portal | Apache Captive Portal httpd.proxy | Apache Proxy Interception pf | all services that should be running based on your config pfdetect | PF snort alert parser pfdhcplistener | PF DHCP monitoring daemon pfdns | DNS daemon pfmon | PF ARP monitoring daemon pfsetvlan | PF VLAN isolation daemon radiusd | FreeRADIUS daemon snmptrapd | SNMP trap receiver daemon snort | Sourcefire Snort IDS suricata | Suricata IDS
watch
Watch performs services checks to make sure that everything is fine. It's behavior is controlled by servicewatch configuration parameters. watch is typically best called from cron with something like: */5 * * * * /usr/local/pf/bin/pfcmd service pf watch
pf::cmd::pf::service
Inverse inc. <info@inverse.ca>
Minor parts of this file may have been contributed. See CREDITS.
Copyright (C) 2005-2015 Inverse inc.
This program is free software; you can redistribute it and::or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.