aboutsummaryrefslogtreecommitdiffstats
path: root/service
Commit message (Collapse)AuthorAgeFilesLines
* service: avoid double spaces in systemctl commandsJulien Pivotto2016-10-201-1/+1
| | | | | | | | | | | | | | | | | | | | When running: ``` service x restart ``` You get: ``` Redirecting to /bin/systemctl restart x.service ``` With 2 spaces after restart. This commits fixes that behaviour. Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
* service: also mangle the name of unit in echoLeos Pol2016-10-101-1/+1
|
* service: use systemd mangle for given serviceLukas Nykryn2016-05-271-1/+2
|
* service: improve status and stop function for daemon with intscriptsLukas Nykryn2015-09-111-0/+7
| | | | | | When daemon abnormally dies systemd leaves it in active state. This is due to support of initscripts like network. We can guess if it is a daemon or not.
* service: add condrestart to allowed commandsLukas Nykryn2014-03-031-1/+1
|
* service: fix action matchingLukas Nykryn2014-02-131-1/+1
|
* service: suggest using systemctl if unknown action is used (#1029350)Václav Pavlín2013-11-121-0/+1
|
* service: filter actions that are not supported by systemctl in service (#947823)Václav Pavlín2013-08-081-1/+3
|
* service: action should not be empty when calling legacy-actions (#947817)Lukas Nykryn2013-04-031-1/+1
|
* Bump /sbin/service version.Bill Nottingham2012-06-261-1/+1
|
* service: add support for legacy custom actionsMichal Schmidt2012-06-261-4/+10
| | | | | | | | | | | | | | | | | | This adds support for legacy initscript actions such as service iptables save Packages wishing to provide legacy actions should install programs (probably scripts, but could be binaries) named /usr/libexec/initscripts/legacy-actions/<service>/<action> It should be emphasized that this feature is meant to be used only in packages where compatibility of custom actions with previous releases is desired. Adding of entirely new actions is discouraged. Useful tools should be shipped by upstreams as programs in /usr/bin, not in distro-specific hacks. [ Modifications from original : change from /usr/lib to /usr/libexec - notting ] https://bugzilla.redhat.com/show_bug.cgi?id=796663
* Echo to stderr in a bit more standard fashion. (#832220)Bill Nottingham2012-06-211-1/+1
|
* Don't write to stderr that's not there (or a socket, or whatever, #746263)Bill Nottingham2011-10-251-1/+1
|
* do not check for the existence of a systemd unit before redirectingMichal Schmidt2011-09-261-5/+1
| | | | | | | It is wrong to look only in /lib/systemd/system. systemd can handle units in several other directories as well. The check is needless. Simply redirect everything that's not a SysV service and let systemctl report an error if it's invalid.
* Accept --ignore-dependencies, --skip-redirect in /sbin/service.Bill Nottingham2011-02-171-1/+9
|
* Be somewhat noisy when we're frobbing a native systemd service.Bill Nottingham2010-08-231-0/+1
|
* If a systemd service exists, use systemctl to frob it.Bill Nottingham2010-08-201-0/+3
|
* Use $() instead of `` for process expansion.Bill Nottingham2009-07-301-2/+2
| | | | Adapted from <victor.lowther@gmail.com>.
* don't set $LANG, rely on it to inherit from system locales (#422141)Bill Nottingham2008-05-081-4/+4
|
* just test for existence, so that errors are passed up (#427767)Bill Nottingham2008-01-071-1/+1
|
* those aren't really translatable. don't clutter the po filesBill Nottingham2006-08-011-3/+3
|
* Consistently exclude backup files when globbingMiloslav Trmac2006-07-271-6/+4
|
* remove references to /usr/X11R6/bin (#177938)Bill Nottingham2006-01-311-1/+1
|
* quote environment variables (#174825)Bill Nottingham2005-12-021-4/+4
|
* no longer need run_initDan Walsh2004-01-161-4/+1
|
* remove HOME environment variable from SELINUX codeDan Walsh2003-12-031-1/+1
|
* Add SELinux supportDan Walsh2003-12-031-1/+4
|
* pass TERM to scripts tooBill Nottingham2003-02-281-4/+4
|
* initialize OPTIONS (#78236)Bill Nottingham2003-01-141-0/+1
|
* remove extraneous /Bill Nottingham2002-08-211-1/+0
|
* fix status-all (#71375)Bill Nottingham2002-08-141-1/+1
|
* * Tue Jul 16 2002 Florian La Roche <Florian.LaRoche@redhat.de>Florian La Roche2002-07-161-4/+8
| | | | | | - /sbin/service: set PATH before calling startup scripts HOME and TERM are also set during bootup, but they should not make a difference for well-written daemons.
* - start cleaning up some sh coding thingsFlorian La Roche2002-06-261-3/+2
|
* cd / , not cd /etc/init.dBill Nottingham2002-05-131-2/+2
|
* oops, broke translationsr6-62Bill Nottingham2002-04-101-4/+4
|
* change to root directory before staring/stopping; also sanitize environment ↵Bill Nottingham2002-04-101-4/+5
| | | | (#53304, #61371)
* change i18n stuff around; don't call gettext explicitly, just do echo $"some ↵Bill Nottingham2001-01-231-4/+4
| | | | string"
* revertBill Nottingham2000-07-241-1/+1
|
* /etc/init.d -> /etc/rc.d/init.dr5-36Bernhard Rosenkraenzer2000-07-241-1/+1
|
* /etc/rc.d/init.d -> /etc/init.d. Wheeeeee.Bill Nottingham2000-06-151-1/+1
|
* add full restart (stop/start) <ivanyi@internet.sk>Bill Nottingham2000-03-311-4/+10
|
* update service (do status probes) <ivanyi@internet.sk>Bill Nottingham1999-11-161-9/+54
|
* *** empty log message ***Bill Nottingham1999-10-061-1/+1
|
* fix it. Really, we mean it.Bill Nottingham1999-10-061-1/+3
|
* fix this. this has been broke for a whileBill Nottingham1999-08-211-1/+1
|
* add a service script for starting and stopping things. wheeeeeeeeee...Bill Nottingham1999-04-131-0/+11