systemd: remove local-d.service; better to use native units.
This commit is contained in:
parent
adf6902400
commit
6b63a3dde6
2 changed files with 2 additions and 17 deletions
|
@ -1,12 +0,0 @@
|
|||
[Unit]
|
||||
Description=/etc/local.d execution
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/bin/run-parts --arg="start" /etc/local.d
|
||||
ExecStop=/usr/bin/run-parts --arg="stop" --reverse /etc/local.d
|
||||
TimeoutSec=0
|
||||
RemainAfterExit=yes
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
|
@ -1,13 +1,13 @@
|
|||
# Template file for 'systemd'
|
||||
pkgname=systemd
|
||||
version=197
|
||||
revision=3
|
||||
revision=4
|
||||
build_style=gnu-configure
|
||||
configure_args="--libexecdir=/usr/lib
|
||||
--disable-selinux --disable-tcpwrap --with-rootprefix=/usr
|
||||
--with-sysvinit-path= --with-sysvrcnd-path=
|
||||
--disable-audit --disable-static --disable-ima"
|
||||
depends="dbus run-parts kbd libcap-progs"
|
||||
depends="dbus kbd libcap-progs"
|
||||
makedepends="pkg-config intltool gperf libxslt docbook-xsl acl-devel pam-devel
|
||||
dbus-devel libcap-devel libkmod-devel liblzma-devel cryptsetup-devel
|
||||
libblkid-devel glib-devel libgcrypt-devel python-devel qrencode-devel
|
||||
|
@ -81,9 +81,6 @@ post_install() {
|
|||
# Create /usr/sbin/init for compatibility.
|
||||
ln -sf /usr/lib/systemd/systemd ${DESTDIR}/usr/sbin/init
|
||||
|
||||
# Install local-d.service.
|
||||
vinstall ${FILESDIR}/local-d.service 644 usr/lib/systemd/system
|
||||
|
||||
# Remove RPM stuff.
|
||||
rm -rf ${DESTDIR}/etc/rpm
|
||||
|
||||
|
|
Loading…
Reference in a new issue