summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Felder <feld@FreeBSD.org>2014-03-07 17:29:28 +0000
committerMark Felder <feld@FreeBSD.org>2014-03-07 17:29:28 +0000
commit347f25eada3bf08c50cc164e5567679dc5a3d92d (patch)
treebfbe4ca28e3061a9f4d58474282db2f1f9978fc5
parentConvert f* to USES=zip (diff)
Do not override $sig_stop to be -QUIT
The init scripts that come with Linux versions of Plex were used as inspiration for the FreeBSD rc script. They use SIGQUIT when shutting down Plex, but on FreeBSD this causes a core dump. SIGTERM seems to work just fine.
Notes
Notes: svn path=/head/; revision=347409
-rw-r--r--multimedia/plexmediaserver-plexpass/Makefile2
-rw-r--r--multimedia/plexmediaserver-plexpass/files/plexmediaserver_plexpass.in1
-rw-r--r--multimedia/plexmediaserver/Makefile1
-rw-r--r--multimedia/plexmediaserver/files/plexmediaserver.in1
4 files changed, 2 insertions, 3 deletions
diff --git a/multimedia/plexmediaserver-plexpass/Makefile b/multimedia/plexmediaserver-plexpass/Makefile
index fb284ac37b44..de96c1e4dc00 100644
--- a/multimedia/plexmediaserver-plexpass/Makefile
+++ b/multimedia/plexmediaserver-plexpass/Makefile
@@ -3,7 +3,7 @@
PORTNAME= plexmediaserver
PORTVERSION= 0.9.9.5.411
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= multimedia
MASTER_SITES= http://plex.r.worldssl.net/plex-media-server/${PORTVERSION}-${PLEX_BUILD}/
PKGNAMESUFFIX= -plexpass
diff --git a/multimedia/plexmediaserver-plexpass/files/plexmediaserver_plexpass.in b/multimedia/plexmediaserver-plexpass/files/plexmediaserver_plexpass.in
index 2c1147d64c1d..e1a36a663191 100644
--- a/multimedia/plexmediaserver-plexpass/files/plexmediaserver_plexpass.in
+++ b/multimedia/plexmediaserver-plexpass/files/plexmediaserver_plexpass.in
@@ -93,7 +93,6 @@ plex_stopcmd()
main_pid=$(cat ${pidfile});
child_pids=$(pgrep -P ${main_pid});
all_pids="${main_pid} ${child_pids}"
- sig_stop=-QUIT;
kill ${sig_stop} ${all_pids};
wait_for_pids ${all_pids};
rm ${pidfile}
diff --git a/multimedia/plexmediaserver/Makefile b/multimedia/plexmediaserver/Makefile
index ec0731e6215a..1ba452ba83c9 100644
--- a/multimedia/plexmediaserver/Makefile
+++ b/multimedia/plexmediaserver/Makefile
@@ -3,6 +3,7 @@
PORTNAME= plexmediaserver
PORTVERSION= 0.9.9.5.411
+PORTREVISION= 1
CATEGORIES= multimedia
MASTER_SITES= http://plex.r.worldssl.net/plex-media-server/${PORTVERSION}-${PLEX_BUILD}/
DISTNAME= PlexMediaServer-${PORTVERSION}-${PLEX_BUILD}-freebsd-amd64
diff --git a/multimedia/plexmediaserver/files/plexmediaserver.in b/multimedia/plexmediaserver/files/plexmediaserver.in
index 54f6e4c3e318..a3e48818abc9 100644
--- a/multimedia/plexmediaserver/files/plexmediaserver.in
+++ b/multimedia/plexmediaserver/files/plexmediaserver.in
@@ -93,7 +93,6 @@ plex_stopcmd()
main_pid=$(cat ${pidfile});
child_pids=$(pgrep -P ${main_pid});
all_pids="${main_pid} ${child_pids}"
- sig_stop=-QUIT;
kill ${sig_stop} ${all_pids};
wait_for_pids ${all_pids};
rm ${pidfile}