aboutsummaryrefslogtreecommitdiff
path: root/src/rc/rc-service.c
AgeCommit message (Collapse)Author
2017-12-04rc-service: add --ifcrashed optionWilliam Hubbs
This works like the other --if options. If the service is crashed, run the command. This fixes #154.
2016-07-14Remove the DEBUG_MEMORY macroWilliam Hubbs
This fixes #43.
2016-01-28rc-service: add --ifinactive and --ifnotstarted flagsWilliam Hubbs
X-Gentoo-Bug: 523174 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=523174
2016-01-12Remove multicall binary structure from OpenRCWilliam Hubbs
This eliminates the need for the selinux-specific wrapper scrript we were installing in /lib*/rc/{bin,sbin}.
2015-12-21Convert OpenRC to a centralized copyright/license structureWilliam Hubbs
In the past, OpenRC was a hybrid of a centralized and file-scope license/copyright structure. I followed the instructions from the Software Freedom Law Center [1] to convert to a Centralized structure where possible, for easier future maintenance. [1] https://softwarefreedom.org/resources/2012/ManagingCopyrightInformation.html
2014-10-23Bundle <sys/queue.h> from NetBSDAnthony G. Basile
We are bundling this to allow building on musl-based systems since musl does not include <sys/queue.h>.
2014-09-20typo fixWilliam Hubbs
2013-02-25rc-service: add usage messageAndrew Gregory
Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
2011-11-19rc: fix style around case_RC_COMMON_GETOPTMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-06-29drop useless "All rights reserved" noticeMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-05-01Add (c) to CopyrightRoy Marples
2009-05-01Add -i, --ifexists so that we can do thisRoy Marples
rc-sercice -i foo -- restart instead of this rc-service -e foo && rc-service foo -- restart
2009-04-23Improve style for KNFRoy Marples
2008-10-10sysinit is now a real runlevel that handles things like udev, dmesg andRoy Marples
mounting various bits in /dev and /sys. init.sh JUST mounts /lib/rc/init.d (and /proc for Linux systems) To make development of this easier we now return an empty RC_STRINGLIST instead of a NULL for empty things. If you don't have a udev init script installed, don't reboot your box OR roll back to an older OpenRC version.
2008-04-15Add help text for rc-service --resole.Roy Marples
2008-04-07Fix rc-service --help output.Roy Marples
2008-03-26Add license blurb to a few files and append my email to my name.Roy Marples
2008-03-26Add --exists and --resolve to rc-service.Roy Marples
2008-03-21Add --list to rc-service to list all available services.Roy Marples