From 10ce67886d214850feaf60d6945fe2568da6ef84 Mon Sep 17 00:00:00 2001
From: William Hubbs <williamh@gentoo.org>
Date: Thu, 6 Jan 2011 12:13:33 -0600
Subject: change local to run programs

This changes the local service so that it will run programs located in
@sysconfdir@/local.d instead of the local_start and local_stop functions
from @sysconfdir@/conf.d/local.

The advantage for the user is that these programs are not part
of the openrc package, so the user does not have to worry about them
being overwritten when openrc is upgraded.

X-Gentoo-Bug: 351465
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=351465
---
 local.d/README | 9 +++++++++
 1 file changed, 9 insertions(+)
 create mode 100644 local.d/README

(limited to 'local.d/README')

diff --git a/local.d/README b/local.d/README
new file mode 100644
index 00000000..d3c11566
--- /dev/null
+++ b/local.d/README
@@ -0,0 +1,9 @@
+This directory should contain programs or scripts which are to be run
+when the local service is started or stopped.
+
+If a file in this directory is executable and it has a .start extension,
+it will be run when the local service is started. If a file is
+executable and it has a .stop extension, it will be run when the local
+service is stopped.
+
+All files are processed in lexical order.
-- 
cgit v1.2.3