1 |
commit: 0f4fa41574a4ebf8117493e5411f8ab522010467 |
2 |
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com> |
3 |
AuthorDate: Tue May 22 16:08:35 2018 +0000 |
4 |
Commit: William Hubbs <williamh <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 22 17:20:38 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=0f4fa415 |
7 |
|
8 |
Add mark_service_crashed binary |
9 |
|
10 |
src/rc/.gitignore | 1 + |
11 |
src/rc/Makefile | 4 +++- |
12 |
2 files changed, 4 insertions(+), 1 deletion(-) |
13 |
|
14 |
diff --git a/src/rc/.gitignore b/src/rc/.gitignore |
15 |
index 91d57075..a43088aa 100644 |
16 |
--- a/src/rc/.gitignore |
17 |
+++ b/src/rc/.gitignore |
18 |
@@ -56,6 +56,7 @@ mark_service_inactive |
19 |
mark_service_wasinactive |
20 |
mark_service_hotplugged |
21 |
mark_service_failed |
22 |
+mark_service_crashed |
23 |
rc-abort |
24 |
rc |
25 |
openrc |
26 |
|
27 |
diff --git a/src/rc/Makefile b/src/rc/Makefile |
28 |
index cb90875c..5e2a5e94 100644 |
29 |
--- a/src/rc/Makefile |
30 |
+++ b/src/rc/Makefile |
31 |
@@ -41,6 +41,7 @@ RC_SBINPROGS= mark_service_starting mark_service_started \ |
32 |
mark_service_stopping mark_service_stopped \ |
33 |
mark_service_inactive mark_service_wasinactive \ |
34 |
mark_service_hotplugged mark_service_failed \ |
35 |
+ mark_service_crashed \ |
36 |
rc-abort swclock |
37 |
|
38 |
ifeq (${OS},Linux) |
39 |
@@ -123,7 +124,8 @@ is_older_than: is_older_than.o rc-misc.o |
40 |
mark_service_starting mark_service_started \ |
41 |
mark_service_stopping mark_service_stopped \ |
42 |
mark_service_inactive mark_service_wasinactive \ |
43 |
-mark_service_hotplugged mark_service_failed: do_mark_service.o rc-misc.o |
44 |
+mark_service_hotplugged mark_service_failed \ |
45 |
+mark_service_crashed: do_mark_service.o rc-misc.o |
46 |
${CC} ${LOCAL_CFLAGS} ${LOCAL_LDFLAGS} ${CFLAGS} ${LDFLAGS} -o $@ $^ ${LDADD} |
47 |
|
48 |
mountinfo: mountinfo.o _usage.o rc-misc.o |