summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authornork <nork@FreeBSD.org>2004-03-27 16:59:36 +0000
committernork <nork@FreeBSD.org>2004-03-27 16:59:36 +0000
commit5c6ccc95032ac9df2df0c7836bf1bd26869f26e9 (patch)
tree64bfa84f1ae61ba3c6b169953e5f5c6d6c8106a8 /net
parentc4b465bd5b8366822adc709166960b4b58b23d6a (diff)
downloadFreeBSD-ports-5c6ccc95032ac9df2df0c7836bf1bd26869f26e9.zip
FreeBSD-ports-5c6ccc95032ac9df2df0c7836bf1bd26869f26e9.tar.gz
o Change shutdown script by using /var/run/DarwinStreamingServer.pid.
o Bump PORTREVISION, accordingly. PR: ports/64663 Submitted by: Melvyn Sopacua <mdev@idg.nl>
Diffstat (limited to 'net')
-rw-r--r--net/DarwinStreamingServer/Makefile2
-rw-r--r--net/DarwinStreamingServer/files/darwin_streaming_server.sh5
2 files changed, 5 insertions, 2 deletions
diff --git a/net/DarwinStreamingServer/Makefile b/net/DarwinStreamingServer/Makefile
index 52b7a1f..eecef5d 100644
--- a/net/DarwinStreamingServer/Makefile
+++ b/net/DarwinStreamingServer/Makefile
@@ -7,7 +7,7 @@
PORTNAME= DarwinStreamingServer
PORTVERSION= 5.0.1.1
-PORTREVISION= 0
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= #http://developer.apple.com/darwin/projects/streaming/source/
# You must accept APSL (Apple Public Source License), and get
diff --git a/net/DarwinStreamingServer/files/darwin_streaming_server.sh b/net/DarwinStreamingServer/files/darwin_streaming_server.sh
index 3883701..765c60c 100644
--- a/net/DarwinStreamingServer/files/darwin_streaming_server.sh
+++ b/net/DarwinStreamingServer/files/darwin_streaming_server.sh
@@ -24,7 +24,10 @@ start)
stop)
case ${darwin_streaming_server_enable} in
[Yy][Ee][Ss])
- /usr/bin/killall DarwinStreamingS && echo -n ' DarwinStreamingServer'
+ if [ -f /var/run/DarwinStreamingServer.pid ]; then
+ /bin/kill `/bin/cat /var/run/DarwinStreamingServer.pid`
+ echo -n ' DarwinStreamingServer'
+ fi
;;
esac
;;
OpenPOWER on IntegriCloud