systemd: extend local-d.service for start/stop conditions.

This commit is contained in:
Juan RP 2012-07-03 11:55:31 +02:00
parent 2e12bbb92c
commit 958a98c7bb
2 changed files with 3 additions and 2 deletions

View file

@ -3,7 +3,8 @@ Description=/etc/local.d execution
[Service]
Type=oneshot
ExecStart=/usr/bin/run-parts /etc/local.d
ExecStart=/usr/bin/env -i ACTION=start /usr/bin/run-parts /etc/local.d
ExecStop=/usr/bin/env -i ACTION=stop /usr/bin/run-parts --reverse /etc/local.d
TimeoutSec=0
RemainAfterExit=yes

View file

@ -1,7 +1,7 @@
# Template file for 'systemd'
pkgname=systemd
version=185
revision=4
revision=5
distfiles="http://www.freedesktop.org/software/$pkgname/$pkgname-$version.tar.xz"
build_style=gnu-configure
configure_args="--with-distro=other --with-rootprefix= --disable-plymouth