diff options
author | nork <nork@FreeBSD.org> | 2004-03-28 00:59:36 +0800 |
---|---|---|
committer | nork <nork@FreeBSD.org> | 2004-03-28 00:59:36 +0800 |
commit | 5c6ccc95032ac9df2df0c7836bf1bd26869f26e9 (patch) | |
tree | 64bfa84f1ae61ba3c6b169953e5f5c6d6c8106a8 | |
parent | c4b465bd5b8366822adc709166960b4b58b23d6a (diff) | |
download | freebsd-ports-gnome-5c6ccc95032ac9df2df0c7836bf1bd26869f26e9.tar.gz freebsd-ports-gnome-5c6ccc95032ac9df2df0c7836bf1bd26869f26e9.tar.zst freebsd-ports-gnome-5c6ccc95032ac9df2df0c7836bf1bd26869f26e9.zip |
o Change shutdown script by using /var/run/DarwinStreamingServer.pid.
o Bump PORTREVISION, accordingly.
PR: ports/64663
Submitted by: Melvyn Sopacua <mdev@idg.nl>
-rw-r--r-- | net/DarwinStreamingServer/Makefile | 2 | ||||
-rw-r--r-- | net/DarwinStreamingServer/files/darwin_streaming_server.sh | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/net/DarwinStreamingServer/Makefile b/net/DarwinStreamingServer/Makefile index 52b7a1fa0426..eecef5d48c9e 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 3883701ec10f..765c60cfe4a5 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 ;; |