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 /net/DarwinStreamingServer/files/darwin_streaming_server.sh | |
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>
Diffstat (limited to 'net/DarwinStreamingServer/files/darwin_streaming_server.sh')
-rw-r--r-- | net/DarwinStreamingServer/files/darwin_streaming_server.sh | 5 |
1 files changed, 4 insertions, 1 deletions
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 ;; |