summaryrefslogtreecommitdiffstats
path: root/etc/inc/service-utils.inc
Commit message (Collapse)AuthorAgeFilesLines
* Code style bits and pieces from etcPhil Davis2015-05-311-7/+7
|
* small correction of relative paths to iconsdneuhaeuser2015-04-031-3/+3
|
* Be consistent about Unbound service descriptive namePhil Davis2015-03-231-1/+1
| | | | | | | | | | | Forum: https://forum.pfsense.org/index.php?topic=91075.0 For DNS Forwarder (dnsmasq) 1) dnsmasq is the name of the service 2) DNS Forwarder is the text description Make Unbound consistent with that, so that menu names and services status display and... work in the same way: 1) unbound is the name of the service 2) DNS Resolver is the text description
* Code style etc in r sPhil Davis2015-03-031-90/+120
|
* s/Unbound DNS Forwarder/Unbound DNS Resolver/ to be consistent with other ↵jim-p2014-11-251-1/+1
| | | | wording in the GUI
* Process unbound start from status servicesPhil Davis2014-11-241-0/+3
| | | This was missing, so nothing happened when the user tried to start Unbound from Status->Services
* 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.
OpenPOWER on IntegriCloud