aboutsummaryrefslogtreecommitdiff
path: root/src/rc/Makefile
AgeCommit message (Collapse)Author
2018-05-22Add mark_service_crashed binaryWilliam Hubbs
2017-10-02remove service binaryWilliam Hubbs
The service binary was just a synonym for rc-service, so use rc-service instead of service. If you want a "service" binary, it should be something that can determine which service manager you are running and run the appropriate service manager commands.
2017-09-06add retry option to supervise-daemonWilliam Hubbs
The --retry option for supervise-daemon defines how the supervisor will attempt to stop the child process it is monitoring. It is defined when the supervisor is started since stopping the supervisor just sends a signal to the active supervisor. This fixes #160.
2017-08-24start-stop-daemon: move --retry processing code to a shared moduleWilliam Hubbs
This was part of start-stop-daemon; however, it needs to be shared in order to be used by supervise-daemon.
2017-06-04add support for writing reboot and shutdown records to wtmpWilliam Hubbs
2017-05-19add kill_all helperWilliam Hubbs
This is similar to the sysvinit killall5 utility. It should only be used in service scripts, so it will not be installed in the path. This closes #129.
2017-04-06add init processWilliam Hubbs
openrc-init.c and openrc-shutdown.c are based on code which was written by James Hammons <jlhamm@acm.org>, so I would like to publically thank him for his work.
2016-05-13supervise-daemon: add pam service fileWilliam Hubbs
2016-04-27add daemon supervisorWilliam Hubbs
The supervise-daemon process is meant to be a lightweight supervisor which can monitor and restart a daemon if it crashes.
2016-01-18fix bsd buildWilliam Hubbs
X-Gentoo-Bug: 572068 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=572068
2016-01-14src/rc/Makefile: fix make depend targetWilliam Hubbs
2016-01-14fix selinux buildWilliam Hubbs
X-Gentoo-Bug: 571798 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=571798
2016-01-13fix selinux buildWilliam Hubbs
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-04-27convert all references from runscript to openrc-runWilliam Hubbs
2015-01-24Prioritize local includes and librariesWill Miles
This fixes #35.
2014-12-05rename git.mk to gitver.mkWilliam Hubbs
This is a more descriptive name since this file only sets the gitver variable.
2014-07-19src/rc/Makefile: typo fixWilliam Hubbs
2014-07-16Rename SELinux source filesWilliam Hubbs
The name rc-selinux-util.* is a bit long, so I renamed the source files to rc-selinux.* X-Gentoo-Bug: 516956 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=516956
2014-07-16checkpath: restore the SELinux contextJason Zaman
X-Gentoo-Bug: 516956 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=516956
2013-12-29Rename runscript to openrc-runWilliam Hubbs
This was requested by Debian, because the minicom software, which is available on Debian and other distros, has a binary named runscript. We are keeping a backward compatibility symlink for now, but this allows Debian or any other distro to safely remove the symlink. X-Gentoo-Bug: 494220 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=494220
2013-12-12Rename the rc binary to openrcWilliam Hubbs
Debian requested this rename due to the "rc" binary conflicting with the "rc" binary from the plan 9 shell. We also add a deprecation warning to the binary when it is run as rc to encourage users to switch to openrc instead. X-Gentoo-Bug: 493958 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=493958
2013-10-21Revert "Make einfo routines private"William Hubbs
This reverts commit de88aff0a839844526ae262f8961ec4372fed238. I was advised that splashutils links to libeinfo, so we do have a consumer for this library.
2013-09-26Make einfo routines privateWilliam Hubbs
The libeinfo library has no consumers other than OpenRC, so there is no reason for it to be maintained as a library. The einfo routines are now an object that links with the rc binary.
2013-05-02Add service appletWilliam Hubbs
The service applet is equivalent to rc-service. This was added so that we will be more compatible with Debian and Fedora. Reported-by: cardoe@gentoo.org X-Gentoo-Bug: 468168 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=468168
2013-05-01fix the build for non-selinux systemsWilliam Hubbs
The symlinks should be created only if MKSELINUX=yes, not if it just has a value.
2011-05-28cc.mk: move debug.mk out of end MakefilesMike Frysinger
Since we always want debug.mk whenever we include cc.mk, move the include out of the Makefiles and into cc.mk itself. This also fixes an include order bug in rc/Makefile where debug.mk is included before cc.mk and breaks the default CFLAGS setup in cc.mk. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-02-07fix symlink targetWilliam Hubbs
The target for the symlinks in ${SBINDIR} (the same directory as the rc binary) was "rc". This is not correct; the target should be ${SBINDIR}/rc instead.
2011-02-04rework pam, ncurses and termcap include filesWilliam Hubbs
This allows error checking inside the included files instead of either including the appropriate file or a blank file. Also the blank file named .mk gets removed by this change.
2011-01-31selinux: replace symlinks with wrapper scriptsChris Richards
This needs to be done on selinux systems so the proper context can be set for each rc applet. X-Gentoo-Bug: 351712 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=351712
2009-10-16Regenerate version.h if necessaryRoy Marples
2009-10-13Add new utility and init script swclock that sets the system time based onRoy Marples
the mtime of a file. It saves the shutdown time to this file also. This is handy for systems without a working RTC chip. Based on an idea by Michael A. Smith <michael@smith-li.com>. Fixes Gentoo #272073.
2009-10-08Add pkg-config support, fixes #187.Roy Marples
2009-05-23Move non compiled libraries from /lib/rc to /libexec/rcRoy Marples
OpenRC version is now stored as plaintext in /libexec/rc/version Plugins (cursplash, splashutils) will have to be re-compiled to pickup the new directories. State data needs to be moved from /lib/rc/init.d to /libexec/rc/init.d as well.
2009-05-01Fix git versioningRoy Marples
2009-04-30Brand with git version instead of svnRoy Marples
2009-04-18Move status to runscript.sh so init scripts can override it, #159Roy Marples
Return 32 if crashed, #163
2009-01-14Fix locale with svnversion, #140 thanks to Matthias Schwarzott.Roy Marples
2009-01-02Make _SVNVER_SH more readable.Roy Marples
2009-01-02Fix version for releases.Roy Marples
2008-12-04If we're building from subversion, brand the binary as such.Roy Marples
2008-10-30We should show hotplugged services, needed services and manually started ↵Roy Marples
services in rc-status.
2008-07-27Attempt to make s-s-d simpler by not enforcing the need for a full path and ↵Roy Marples
maybe working better with interpreted scripts.
2008-06-19Use CPPFLAGS so we work with -combine in CFLAGS.Roy Marples
2008-06-03Add the ewaitfile function so init scripts can wait until sockts are ↵Roy Marples
created, Gentoo #175783.
2008-05-13Install symlinks correctly, thanks to zlin.Roy Marples
2008-03-28Put some dir locations in rc.h so that 3rd party apps can become awware of them.Roy Marples
2008-03-24Fix debug support to work without gmake and bundle -ggdb in properly.Roy Marples
2008-03-24add check/test rulesMike Frysinger
2008-03-22add support for automatic gdb launching when RC_DEBUG is defined to 1 to ↵Mike Frysinger
ease bug reporting / information gathering