Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | service: avoid double spaces in systemctl commands | Julien Pivotto | 2016-10-20 | 1 | -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 echo | Leos Pol | 2016-10-10 | 1 | -1/+1 |
| | |||||
* | service: use systemd mangle for given service | Lukas Nykryn | 2016-05-27 | 1 | -1/+2 |
| | |||||
* | service: improve status and stop function for daemon with intscripts | Lukas Nykryn | 2015-09-11 | 1 | -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 commands | Lukas Nykryn | 2014-03-03 | 1 | -1/+1 |
| | |||||
* | service: fix action matching | Lukas Nykryn | 2014-02-13 | 1 | -1/+1 |
| | |||||
* | service: suggest using systemctl if unknown action is used (#1029350) | Václav Pavlín | 2013-11-12 | 1 | -0/+1 |
| | |||||
* | service: filter actions that are not supported by systemctl in service (#947823) | Václav Pavlín | 2013-08-08 | 1 | -1/+3 |
| | |||||
* | service: action should not be empty when calling legacy-actions (#947817) | Lukas Nykryn | 2013-04-03 | 1 | -1/+1 |
| | |||||
* | Bump /sbin/service version. | Bill Nottingham | 2012-06-26 | 1 | -1/+1 |
| | |||||
* | service: add support for legacy custom actions | Michal Schmidt | 2012-06-26 | 1 | -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 Nottingham | 2012-06-21 | 1 | -1/+1 |
| | |||||
* | Don't write to stderr that's not there (or a socket, or whatever, #746263) | Bill Nottingham | 2011-10-25 | 1 | -1/+1 |
| | |||||
* | do not check for the existence of a systemd unit before redirecting | Michal Schmidt | 2011-09-26 | 1 | -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 Nottingham | 2011-02-17 | 1 | -1/+9 |
| | |||||
* | Be somewhat noisy when we're frobbing a native systemd service. | Bill Nottingham | 2010-08-23 | 1 | -0/+1 |
| | |||||
* | If a systemd service exists, use systemctl to frob it. | Bill Nottingham | 2010-08-20 | 1 | -0/+3 |
| | |||||
* | Use $() instead of `` for process expansion. | Bill Nottingham | 2009-07-30 | 1 | -2/+2 |
| | | | | Adapted from <victor.lowther@gmail.com>. | ||||
* | don't set $LANG, rely on it to inherit from system locales (#422141) | Bill Nottingham | 2008-05-08 | 1 | -4/+4 |
| | |||||
* | just test for existence, so that errors are passed up (#427767) | Bill Nottingham | 2008-01-07 | 1 | -1/+1 |
| | |||||
* | those aren't really translatable. don't clutter the po files | Bill Nottingham | 2006-08-01 | 1 | -3/+3 |
| | |||||
* | Consistently exclude backup files when globbing | Miloslav Trmac | 2006-07-27 | 1 | -6/+4 |
| | |||||
* | remove references to /usr/X11R6/bin (#177938) | Bill Nottingham | 2006-01-31 | 1 | -1/+1 |
| | |||||
* | quote environment variables (#174825) | Bill Nottingham | 2005-12-02 | 1 | -4/+4 |
| | |||||
* | no longer need run_init | Dan Walsh | 2004-01-16 | 1 | -4/+1 |
| | |||||
* | remove HOME environment variable from SELINUX code | Dan Walsh | 2003-12-03 | 1 | -1/+1 |
| | |||||
* | Add SELinux support | Dan Walsh | 2003-12-03 | 1 | -1/+4 |
| | |||||
* | pass TERM to scripts too | Bill Nottingham | 2003-02-28 | 1 | -4/+4 |
| | |||||
* | initialize OPTIONS (#78236) | Bill Nottingham | 2003-01-14 | 1 | -0/+1 |
| | |||||
* | remove extraneous / | Bill Nottingham | 2002-08-21 | 1 | -1/+0 |
| | |||||
* | fix status-all (#71375) | Bill Nottingham | 2002-08-14 | 1 | -1/+1 |
| | |||||
* | * Tue Jul 16 2002 Florian La Roche <Florian.LaRoche@redhat.de> | Florian La Roche | 2002-07-16 | 1 | -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 things | Florian La Roche | 2002-06-26 | 1 | -3/+2 |
| | |||||
* | cd / , not cd /etc/init.d | Bill Nottingham | 2002-05-13 | 1 | -2/+2 |
| | |||||
* | oops, broke translationsr6-62 | Bill Nottingham | 2002-04-10 | 1 | -4/+4 |
| | |||||
* | change to root directory before staring/stopping; also sanitize environment ↵ | Bill Nottingham | 2002-04-10 | 1 | -4/+5 |
| | | | | (#53304, #61371) | ||||
* | change i18n stuff around; don't call gettext explicitly, just do echo $"some ↵ | Bill Nottingham | 2001-01-23 | 1 | -4/+4 |
| | | | | string" | ||||
* | revert | Bill Nottingham | 2000-07-24 | 1 | -1/+1 |
| | |||||
* | /etc/init.d -> /etc/rc.d/init.dr5-36 | Bernhard Rosenkraenzer | 2000-07-24 | 1 | -1/+1 |
| | |||||
* | /etc/rc.d/init.d -> /etc/init.d. Wheeeeee. | Bill Nottingham | 2000-06-15 | 1 | -1/+1 |
| | |||||
* | add full restart (stop/start) <ivanyi@internet.sk> | Bill Nottingham | 2000-03-31 | 1 | -4/+10 |
| | |||||
* | update service (do status probes) <ivanyi@internet.sk> | Bill Nottingham | 1999-11-16 | 1 | -9/+54 |
| | |||||
* | *** empty log message *** | Bill Nottingham | 1999-10-06 | 1 | -1/+1 |
| | |||||
* | fix it. Really, we mean it. | Bill Nottingham | 1999-10-06 | 1 | -1/+3 |
| | |||||
* | fix this. this has been broke for a while | Bill Nottingham | 1999-08-21 | 1 | -1/+1 |
| | |||||
* | add a service script for starting and stopping things. wheeeeeeeeee... | Bill Nottingham | 1999-04-13 | 1 | -0/+11 |