diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2006-06-10 19:03:48 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2006-06-10 19:03:48 +0000 |
commit | 70eb7f5569bd10de6b7f8c4031c36e8f14b4f58c (patch) | |
tree | 7fe8ad9a7c9f6d3c114aa928687036b8077f388b /devel/dbus/files | |
parent | 136a06f03db93d8f720d36a84980d6db8bcc0536 (diff) | |
download | ports-70eb7f5569bd10de6b7f8c4031c36e8f14b4f58c.tar.gz ports-70eb7f5569bd10de6b7f8c4031c36e8f14b4f58c.zip |
Notes
Diffstat (limited to 'devel/dbus/files')
-rw-r--r-- | devel/dbus/files/dbus.in | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/devel/dbus/files/dbus.in b/devel/dbus/files/dbus.in index 02d9c577595d..61638229f36b 100644 --- a/devel/dbus/files/dbus.in +++ b/devel/dbus/files/dbus.in @@ -21,9 +21,15 @@ rcvar=`set_rcvar` command="%%PREFIX%%/bin/dbus-daemon" pidfile="/var/run/dbus/${name}.pid" -stop_postcmd=stop_postcmd +start_precmd="dbus_prestart" +stop_postcmd="dbus_poststop" -stop_postcmd() +dbus_prestart() +{ + mkdir -p $(dirname $pidfile) +} + +dbus_poststop() { rm -f $pidfile } |