summaryrefslogtreecommitdiffstats
path: root/src/lib/Client/Tools/launchd.py
Commit message (Collapse)AuthorAgeFilesLines
* launchd: Remove popen2 callsSol Jerome2012-03-271-18/+32
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* SvcTools: Change return from mode="manual" to false so the entries report a ↵Tim Laszlo2011-04-251-1/+1
| | | | Bad state
* Tools: Skip Installation for mode='manual' services (#965)Sol Jerome2011-04-121-0/+5
| | | | | | | | | This allows for verification of specified services, but skips installation completely when mode is set to manual. This means that incorrect services will still show up in reports, but they won't be modified in an automated way. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Client Tools: Pylint/PEP8 fixesSol Jerome2010-10-171-8/+10
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Updated files to match PEP 257Fabian Affolter2010-06-071-9/+9
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5897 ce84e21b-d406-0410-9b95-82705330c041
* launchd: fixed return code checks when (un)installing servicesKamil Kisiel2009-11-251-2/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5595 ce84e21b-d406-0410-9b95-82705330c041
* launchd: minor spacing fixSol Jerome2009-11-191-1/+1
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5580 ce84e21b-d406-0410-9b95-82705330c041
* Moved launchd plist cache to __init__ function.Kamil Kisiel2009-11-031-21/+24
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5524 ce84e21b-d406-0410-9b95-82705330c041
* Added checks for Snow Leopard (10.6) to launchd client toolKamil Kisiel2009-11-021-1/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5523 ce84e21b-d406-0410-9b95-82705330c041
* Greatly sped up launchd client tool. Also made services reload correctly.Kamil Kisiel2009-11-021-25/+33
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5522 ce84e21b-d406-0410-9b95-82705330c041
* Client tools: Remove unnecessary extra whitespaceSol Jerome2009-08-161-1/+1
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5408 ce84e21b-d406-0410-9b95-82705330c041
* launchd update for 10.5 (patch from Kamil Kisiel)Sol Jerome2009-03-191-0/+15
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5132 ce84e21b-d406-0410-9b95-82705330c041
* pylint fixes for client codeNarayan Desai2008-12-081-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4991 ce84e21b-d406-0410-9b95-82705330c041
* Pylint formatting fixes for client tool driversSol Jerome2008-09-271-1/+4
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4923 ce84e21b-d406-0410-9b95-82705330c041
* Remove validation states from Tool instances (in preparation for ↵Narayan Desai2008-03-171-1/+1
| | | | | | DecisionList stuff) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4423 ce84e21b-d406-0410-9b95-82705330c041
* Added Revision to svn:keywords so Revision shows up correctly in sourceDaniel Joseph Barnhart Clark2007-02-251-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2870 ce84e21b-d406-0410-9b95-82705330c041
* Pylint fixesNarayan Desai2007-01-161-6/+8
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2681 ce84e21b-d406-0410-9b95-82705330c041
* First working version of launchd support! Joey Hagedorn2007-01-081-17/+19
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2630 ce84e21b-d406-0410-9b95-82705330c041
* Enabled launchd as valid service; support is completely untested at this ↵Joey Hagedorn2007-01-031-11/+12
| | | | | | point. To use; install launchd plist files as configuration files, then setup a launchd service entry to make sure the item is loaded. git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2619 ce84e21b-d406-0410-9b95-82705330c041
* Preliminiary launchd support implementation for Install function.Joey Hagedorn2007-01-031-11/+37
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2618 ce84e21b-d406-0410-9b95-82705330c041
* working on initial launchd service support implementationJoey Hagedorn2007-01-021-1/+14
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2617 ce84e21b-d406-0410-9b95-82705330c041
* Initial commit of launchd service support.Joey Hagedorn2007-01-021-0/+55
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2616 ce84e21b-d406-0410-9b95-82705330c041