]> git.pld-linux.org Git - packages/rc-scripts.git/commitdiff
- add rc-local.service
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 29 Nov 2011 17:43:05 +0000 (17:43 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rc-local.service -> 1.1
    rc-scripts.spec -> 1.374

rc-local.service [new file with mode: 0644]
rc-scripts.spec

diff --git a/rc-local.service b/rc-local.service
new file mode 100644 (file)
index 0000000..c116829
--- /dev/null
@@ -0,0 +1,18 @@
+#  This file is part of systemd.
+#
+#  systemd is free software; you can redistribute it and/or modify it
+#  under the terms of the GNU General Public License as published by
+#  the Free Software Foundation; either version 2 of the License, or
+#  (at your option) any later version.
+
+[Unit]
+Description=/etc/rc.d/rc.local Compatibility
+ConditionFileIsExecutable=/etc/rc.d/rc.local
+
+[Service]
+Type=forking
+ExecStart=/etc/rc.d/rc.local start
+TimeoutSec=0
+StandardOutput=tty
+RemainAfterExit=yes
+SysVStartPriority=99
index 846de548215b514a053d6ab4c2aca77856938076..c71d78f6757ae6987e9e19645f413de25376b960 100644 (file)
@@ -15,6 +15,7 @@ Group:                Base
 Source0:       ftp://distfiles.pld-linux.org/src/%{name}-%{version}.tar.gz
 # Source0-md5: 00d0cbd7bb54c89fed07ebce20a4a0b7
 Source1:       rc-scripts-systemd-tmpfiles.d.conf
+Source2:       rc-local.service
 URL:           http://svn.pld-linux.org/trac/svn/wiki/packages/rc-scripts
 Patch0:                %{name}-svn.patch
 BuildRequires: autoconf
@@ -182,7 +183,9 @@ done
 # make /etc/init.d symlink relative
 ln -nfs rc.d/init.d $RPM_BUILD_ROOT/etc/init.d
 
+# systemd
 install -D %{SOURCE1} $RPM_BUILD_ROOT/usr/lib/tmpfiles.d/rc-scripts.conf
+install -D %{SOURCE2} $RPM_BUILD_ROOT/lib/systemd/system/rc-local.service
 
 %if "%{pld_release}" == "ac"
 rm -rf $RPM_BUILD_ROOT/etc/init
@@ -305,6 +308,7 @@ mv -f /etc/sysconfig/network-scripts/ifcfg-* /etc/sysconfig/interfaces
 %attr(755,root,root) /lib/firmware/firmware-loader.sh
 
 /usr/lib/tmpfiles.d/rc-scripts.conf
+/lib/systemd/system/rc-local.service
 
 %dir /lib/rc-scripts
 %attr(755,root,root) /lib/rc-scripts/ifdown-br
This page took 0.055113 seconds and 4 git commands to generate.