summaryrefslogtreecommitdiffstats
path: root/etc/inc/service-utils.inc
Commit message (Collapse)AuthorAgeFilesLines
* find_dhclient_process() returns an int, not stringRenato Botelho2014-09-091-1/+1
|
* Avoid a "Cannot use string offset as an array" error if the packages section ↵jim-p2014-08-081-4/+7
| | | | of the config is missing.
* Add some protection to parameters that come through _GETRenato Botelho2014-06-061-9/+9
|
* Show proper status for ipsecErmal2014-05-091-0/+3
|
* Make sure /usr/local/etc/rc.d existsPhil Davis2014-04-221-0/+1
| | | | | On 2.2-ALPHA (i386)built on Mon Apr 21 13:01:11 CDT 2014 (for example) there was /usr/local/etc but not /usr/local/etc/rc.d - when I tried to install bandwidthd, that called write_rcfile() which failed because /usr/local/etc/rc.d did not already exist. Best to check for it and make it if it does not exist. (I am guessing that the 2.1.n image builds already had /usr/local/etc/rc.d bnefore any packages were installed, otherwise this problem should have already been an issue prior to 2.2)
* support symlinked RC scripts from PBI packagesFrank Wall2014-04-171-3/+3
|
* More removal of racoon from referenced in sourcesErmal2014-03-121-5/+5
|
* Add escapeshellarg() calls on exec parameters. While I'm here, replace some ↵Renato Botelho2014-02-041-1/+1
| | | | exec() calls by php functions like symlink, copy, unlink, mkdir
* Add Unbound to the services listWarren Baker2014-01-291-6/+20
|
* Correct this i thought i already did. Thanks-to: Phil Davis for spottingErmal Luçi2014-01-201-2/+2
|
* * Do not call stop service in the start command.Ermal2014-01-201-21/+5
| | | | | * Add some more checks into the functions to avoid errors * Also silence some output that can cause issues
* Add sshd service to list (if enabled)jim-p2013-12-271-0/+13
|
* Tidy up the "Helper Icons"Colin Fleming2013-11-141-8/+4
| | | | | | | | | | | | | | | The "Helper Icons" at the top right of some service pages at present produces 30+ HTML errors/warnings, this is due to the table cell being wrapped in a span statement then in a div statement, table cells can only be part of a table row then within a table statement. - remove the table cell definitions from /etc/inc/service-utils.inc - add the table cell definition from /etc/inc/service-utils.inc to /usr/local/www/status_services.php and add some logic to determine if the service is running which will then determine which class statement to use and pad the icon with a space - apply the same table cell definition and logic as above to /usr/local/www/widgets/widgets/services_status.widget.php
* Support the names used by the status page as well as those used internally ↵jim-p2013-08-281-2/+2
| | | | by service entries.
* Show apinger as a service when active, and display its status on ↵jim-p2013-08-061-0/+19
| | | | gateway-related pages.
* Correctly decide if dhcrelay is enabledPhil Davis2013-07-141-6/+1
|
* Teach service start stop restart about dhcrelay6Phil Davis2013-07-131-0/+25
|
* Correct checking status of vhosts-http as submitted by: ↵Ermal2013-04-261-0/+3
| | | | http://forum.pfsense.org/index.php/topic,61636.0.html
* Disabled package is also indicated by enable blankphildd2013-04-031-2/+1
|
* Consider packages that set enable to 'false' or 'off'Renato Botelho2013-04-011-1/+4
|
* Check for disabled services when displaying service listsphildd2013-04-011-3/+16
|
* Add PHP shell playback script to control services from the command line ↵jim-p2013-03-221-0/+1
| | | | (works like Status > Services)
* Move these service control functions into service-utils.inc so they may be ↵jim-p2013-03-221-0/+170
| | | | re-used.
* Tidy up "services" widget XHTMLColin Fleming2013-03-051-16/+16
| | | | | | | | | Added ALT to img tags Closed off IMG tags Deprecated the ampersand in HREF tag Added summary to table tags Moved nowrap to class definition Tidied up the CDATA section in scripts.
* Make is_pid_running function return more conisten results by using isvalidpidErmal2013-01-031-3/+2
|
* More shortcutsjim-p2012-08-141-0/+7
|
* Refine the formatting of the service status icon a bit depending on its context.jim-p2012-08-131-5/+9
|
* Add some safety belts.jim-p2012-08-131-2/+2
|
* Add/use some more similarly styled icons here, for a more consistent look.jim-p2012-08-111-2/+2
|
* Fixup openvpn shortcut bar status/controljim-p2012-08-101-0/+16
|
* Give status icon a title/tooltipjim-p2012-08-101-4/+6
|
* Print service title in tooltip for shortcut barjim-p2012-08-101-4/+5
|
* Start revamp of shortcuts, central file to hold links, also service ↵jim-p2012-08-101-0/+8
| | | | status/control, added to dns forwarder as example.
* Fixup output formattingjim-p2012-08-101-6/+6
|
* Consolodate a bunch of duplicate service status codejim-p2012-08-101-1/+217
|
* Change rcfileprefix to a constantphildd2012-08-071-12/+11
|
* Stop service needs to wait process to be stopped before trying to ↵Marcello Coutinho2012-05-071-3/+3
| | | | restart/start it.
* Test for null names passed to these functions as a safety precaution.Ermal2011-05-171-0/+3
|
* Test for null names passed to these functions as a safety precaution.Ermal2011-05-171-0/+6
|
* Ticket #1534. Check if a rc file exists before trying to run it. Also return ↵Ermal2011-05-171-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. ↵Ermal2011-03-011-2/+2
| | | | The side effects might be inoquos from the pfSense context.
* Remove trailing carriage returnScott Ullrich2010-11-101-1/+1
|
* Cosmetic change from product_website to product_nameWarren Baker2010-10-101-1/+1
|
* Use mwexec_bg instead of exec to run a service's start command so PHP ↵Erik Fonnesbeck2010-10-051-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 Botelho2010-09-201-0/+7
| | | | before check if it is writable
* Fix variable name typo in status_services.php and fix return value of ↵Erik Fonnesbeck2010-09-071-1/+1
| | | | is_pid_running. Fixes #877
* Correct binaries and find_dhclient_processErmal2010-08-311-1/+1
|
* $g is needed here.Ermal2010-08-311-0/+2
|
* Ticket #485. Correct code and use pkill/pgrep to match or kill process. ↵Ermal2010-08-311-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.Ermal2010-08-311-4/+5
|
OpenPOWER on IntegriCloud