Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Test for null names passed to these functions as a safety precaution. | Ermal | 2011-05-17 | 1 | -0/+3 |
| | |||||
* | Test for null names passed to these functions as a safety precaution. | Ermal | 2011-05-17 | 1 | -0/+6 |
| | |||||
* | Ticket #1534. Check if a rc file exists before trying to run it. Also return ↵ | Ermal | 2011-05-17 | 1 | -1/+4 |
| | | | | if we execute a stop command through rc file to be consistent with the start_service function. | ||||
* | Pass the -a parameters to pgrep to be certain we search ancestors as well. ↵ | Ermal | 2011-03-01 | 1 | -2/+2 |
| | | | | The side effects might be inoquos from the pfSense context. | ||||
* | Remove trailing carriage return | Scott Ullrich | 2010-11-10 | 1 | -1/+1 |
| | |||||
* | Cosmetic change from product_website to product_name | Warren Baker | 2010-10-10 | 1 | -1/+1 |
| | |||||
* | Use mwexec_bg instead of exec to run a service's start command so PHP ↵ | Erik Fonnesbeck | 2010-10-05 | 1 | -1/+1 |
| | | | | doesn't hang in the likely event that it spawns a background process. | ||||
* | Fix write_rcfile() declaring $rcfileprefix as global and touching rcfile ↵ | Renato Botelho | 2010-09-20 | 1 | -0/+7 |
| | | | | before check if it is writable | ||||
* | Fix variable name typo in status_services.php and fix return value of ↵ | Erik Fonnesbeck | 2010-09-07 | 1 | -1/+1 |
| | | | | is_pid_running. Fixes #877 | ||||
* | Correct binaries and find_dhclient_process | Ermal | 2010-08-31 | 1 | -1/+1 |
| | |||||
* | $g is needed here. | Ermal | 2010-08-31 | 1 | -0/+2 |
| | |||||
* | Ticket #485. Correct code and use pkill/pgrep to match or kill process. ↵ | Ermal | 2010-08-31 | 1 | -50/+52 |
| | | | | Since these utilities know how to handle pidfiles and exact matches on process names. | ||||
* | Bring up openvpn up to speed and try to bring this file near to useful/readable. | Ermal | 2010-08-31 | 1 | -4/+5 |
| | |||||
* | Use procatat instead of ps as the latter always prints a header, also | thompsa | 2010-03-12 | 1 | -1/+1 |
| | | | | use full paths. | ||||
* | '\b' is not the word boundary on BSD, its actually '[[:<:]]' and '[[:>:]]', | thompsa | 2010-03-12 | 1 | -2/+2 |
| | | | | change these functions to use better syntax and not grep at all. | ||||
* | Check to see if processes are running before killing | sullrich | 2009-12-02 | 1 | -1/+3 |
| | |||||
* | Add pfSense_BUILDER_BINARIES: and pfSense_MODULE: additions | Scott Ullrich | 2009-09-12 | 1 | -1/+6 |
| | |||||
* | * Move other functions around to where it makes sense. | Ermal Luçi | 2009-04-26 | 1 | -5/+0 |
| | | | | | * Reduce somewhat require_once() overhead by removing the includes from gwlb.inc they are not needed. Some more analysis is needed on the include path | ||||
* | Added custom_php_service_status_command support for packages. | Eirik Oeverby | 2009-03-11 | 1 | -1/+8 |
| | | | | | | | | | | | Package authors can define a custom_php_service_status_command block in their package XML. Such block should only contain function calls, and the first should be one to include their function library file if necessary, as this is not done by service-utils.inc. The return code of the last function call will be returned to the service check. | ||||
* | Fix display of DHCP status on Status -> Interfaces | Chris Buechler | 2009-03-09 | 1 | -2/+1 |
| | |||||
* | Add product_copyright re-branding support | Scott Ullrich | 2007-12-16 | 1 | -1/+1 |
| | | | | | | | | Add product_copyright_years re-branding support Add product_website re-branding support Add product_email re-branding support Work sponsored-by: Centipede Networks | ||||
* | remove part of solution of problem solved elsewhere | Timo Boettcher | 2007-06-21 | 1 | -4/+1 |
| | |||||
* | Make OpenVPN usable in status_service.php | Timo Boettcher | 2007-06-21 | 1 | -43/+52 |
| | |||||
* | * Fix release / renew | Scott Ullrich | 2006-12-23 | 1 | -5/+4 |
| | | | | * Don't return immediately from dhclient to give it time to associate so we can return correct address back to status_interfaces.php | ||||
* | Fix DHCP status on status_interfaces.php. Use find_dhclient_process() for test. | Seth Mos | 2006-12-22 | 1 | -6/+7 |
| | |||||
* | MFC 15382 | Scott Ullrich | 2006-11-19 | 1 | -1/+1 |
| | | | | fix: is_process_running() does inaccurate matches | ||||
* | Correctly start services from /usr/local/etc/rc.d/ first before any other method | Scott Ullrich | 2006-09-30 | 1 | -2/+2 |
| | |||||
* | Correctly start services from /usr/local/etc/rc.d/ first before any other method | Scott Ullrich | 2006-09-30 | 1 | -2/+7 |
| | |||||
* | MFC 12461 | Scott Ullrich | 2006-05-30 | 1 | -3/+2 |
| | | | | "\t0\n" > 0, therefore is_process_running always returned 1. Btw, now it returns true or false, cause I don't see how it could be any different. Should just work now. | ||||
* | We're in 2006 now, toto | Scott Ullrich | 2006-04-08 | 1 | -1/+1 |
| | |||||
* | If we cannot find a service executable for an item and we make it to the ↵ | Scott Ullrich | 2006-03-10 | 1 | -3/+6 |
| | | | | bottom of stop_service() then simply killall service name | ||||
* | Do one command or the other | Scott Ullrich | 2006-01-30 | 1 | -3/+5 |
| | |||||
* | Correctly detect start script | Scott Ullrich | 2006-01-30 | 1 | -1/+1 |
| | |||||
* | Correctly detect start script | Scott Ullrich | 2006-01-30 | 1 | -1/+4 |
| | |||||
* | Remove trailing newline | Scott Ullrich | 2006-01-18 | 1 | -0/+2 |
| | |||||
* | Use ps awux | Scott Ullrich | 2005-11-13 | 1 | -1/+1 |
| | |||||
* | MFC 7080 7084 | Scott Ullrich | 2005-10-23 | 1 | -10/+7 |
| | | | | | Minor cleanup and comment out old $ps code for the time being. Fix backwards comment. | ||||
* | Make sure service is stopped before starting | Scott Ullrich | 2005-10-07 | 1 | -0/+2 |
| | | | | Ticket #590 | ||||
* | * Add is_dhcp_running() | Scott Ullrich | 2005-08-12 | 1 | -0/+8 |
| | | | | * Modify status_interfaces.php to use is_dhcp_running() | ||||
* | is_process_running(): | Colin Smith | 2005-08-06 | 1 | -2/+2 |
| | | | | | * grep -v grep * 2 -> 0 | ||||
* | * Add ascii art from holger | Scott Ullrich | 2005-07-30 | 1 | -0/+2 |
| | | | | * Add base services to status -> services menu | ||||
* | Add restart_service_if_running. | Colin Smith | 2005-07-19 | 1 | -0/+7 |
| | |||||
* | Comment cleanup | Scott Ullrich | 2005-07-06 | 1 | -13/+0 |
| | |||||
* | Various code cleanups and a few actual bugfixes courtesy of Zend | Bill Marquette | 2005-07-04 | 1 | -4/+3 |
| | |||||
* | Add suggested fix for is_process_running(), which seems broken. | Colin Smith | 2005-06-28 | 1 | -0/+13 |
| | |||||
* | Whoops. Don't forget to merge. | Colin Smith | 2005-06-26 | 1 | -22/+18 |
| | |||||
* | Typos. | Colin Smith | 2005-06-26 | 1 | -22/+26 |
| | |||||
* | Make *_service less picky. | Colin Smith | 2005-06-26 | 1 | -4/+4 |
| | |||||
* | Revert is_service_running to rev 1.10. | Colin Smith | 2005-06-26 | 1 | -1/+8 |
| | |||||
* | Comment cleanups | Scott Ullrich | 2005-06-26 | 1 | -8/+2 |
| |