From 958a98c7bbaebadf9c040c7375c21269a16e085e Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 3 Jul 2012 11:55:31 +0200 Subject: [PATCH] systemd: extend local-d.service for start/stop conditions. --- srcpkgs/systemd/files/local-d.service | 3 ++- srcpkgs/systemd/template | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/srcpkgs/systemd/files/local-d.service b/srcpkgs/systemd/files/local-d.service index 3ac975e62c0..0c075817db1 100644 --- a/srcpkgs/systemd/files/local-d.service +++ b/srcpkgs/systemd/files/local-d.service @@ -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 diff --git a/srcpkgs/systemd/template b/srcpkgs/systemd/template index 1d0133ec831..dac43f8bd13 100644 --- a/srcpkgs/systemd/template +++ b/srcpkgs/systemd/template @@ -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