diff options
author | Norikatsu Shigemura <nork@FreeBSD.org> | 2004-03-27 16:59:36 +0000 |
---|---|---|
committer | Norikatsu Shigemura <nork@FreeBSD.org> | 2004-03-27 16:59:36 +0000 |
commit | ab6e4b8280d50be941135c1ef7c71019efb64b47 (patch) | |
tree | 4944f4560b9aca1555fbc2d2f66c907244fc673b | |
parent | Add some gconf entries. (diff) |
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 ;; |