diff options
author | feld <feld@FreeBSD.org> | 2014-03-08 01:29:28 +0800 |
---|---|---|
committer | feld <feld@FreeBSD.org> | 2014-03-08 01:29:28 +0800 |
commit | b4dd82031dababb4018f2242f80134b028c7fa82 (patch) | |
tree | bfbe4ca28e3061a9f4d58474282db2f1f9978fc5 /multimedia | |
parent | 2fb59e9058f73bfd20c4968def31091487b86179 (diff) | |
download | freebsd-ports-gnome-b4dd82031dababb4018f2242f80134b028c7fa82.tar.gz freebsd-ports-gnome-b4dd82031dababb4018f2242f80134b028c7fa82.tar.zst freebsd-ports-gnome-b4dd82031dababb4018f2242f80134b028c7fa82.zip |
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.
Diffstat (limited to 'multimedia')
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} |