systemd: extend local-d.service for start/stop conditions.
This commit is contained in:
parent
2e12bbb92c
commit
958a98c7bb
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue