From b0b1d8fb0f933b37e5878541e18034614eed47fb Mon Sep 17 00:00:00 2001 From: Tom Gundersen Date: Sat, 28 Jul 2012 01:32:35 +0200 Subject: merge initscripts-systemd This makes sure that systemd supports some initscripts API's. With this patch, systemd will: * Parse and use DAEMONS and MODULES from rc.conf * Run rc.local and rc.local.shutdown on boot and shutdown respectively Signed-off-by: Tom Gundersen --- rc-local-shutdown.service | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 rc-local-shutdown.service (limited to 'rc-local-shutdown.service') diff --git a/rc-local-shutdown.service b/rc-local-shutdown.service new file mode 100644 index 0000000..b8fb291 --- /dev/null +++ b/rc-local-shutdown.service @@ -0,0 +1,10 @@ +[Unit] +Description=/etc/rc.local.shutdown Compatibility +After=rc-local.service +ConditionPathIsExecutable=/etc/rc.local.shutdown + +[Service] +Type=oneshot +ExecStart=/etc/rc.local.shutdown +StandardInput=tty +RemainAfterExit=yes -- cgit v1.2.3