systemd: extend local-d.service for start/stop conditions.
This commit is contained in:
parent
2e12bbb92c
commit
958a98c7bb
2 changed files with 3 additions and 2 deletions
|
@ -3,7 +3,8 @@ Description=/etc/local.d execution
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
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
|
TimeoutSec=0
|
||||||
RemainAfterExit=yes
|
RemainAfterExit=yes
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'systemd'
|
# Template file for 'systemd'
|
||||||
pkgname=systemd
|
pkgname=systemd
|
||||||
version=185
|
version=185
|
||||||
revision=4
|
revision=5
|
||||||
distfiles="http://www.freedesktop.org/software/$pkgname/$pkgname-$version.tar.xz"
|
distfiles="http://www.freedesktop.org/software/$pkgname/$pkgname-$version.tar.xz"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--with-distro=other --with-rootprefix= --disable-plymouth
|
configure_args="--with-distro=other --with-rootprefix= --disable-plymouth
|
||||||
|
|
Loading…
Reference in a new issue