aboutsummaryrefslogtreecommitdiff
path: root/multimedia/plexmediaserver
diff options
context:
space:
mode:
authorLionel Young <lionelyoung@gmail.com>2014-03-16 13:01:09 +0700
committerErik Hanson <erik@slackbuilds.org>2014-03-21 13:01:17 -0500
commit602e89befa4a334e294ece2568635c92ef3048f3 (patch)
tree40543b6fc436b9aee2417d0479564518d7b3a534 /multimedia/plexmediaserver
parent84a92bd52e3823dcc8ac4135753983b806f6aa90 (diff)
multimedia/plexmediaserver: Updated for version 0.9.9.7.429_f80a8d6.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia/plexmediaserver')
-rw-r--r--multimedia/plexmediaserver/plexmediaserver.SlackBuild2
-rw-r--r--multimedia/plexmediaserver/plexmediaserver.info10
-rw-r--r--multimedia/plexmediaserver/rc.plexmediaserver19
3 files changed, 12 insertions, 19 deletions
diff --git a/multimedia/plexmediaserver/plexmediaserver.SlackBuild b/multimedia/plexmediaserver/plexmediaserver.SlackBuild
index fa58d42cf9f9..e352eee7dc22 100644
--- a/multimedia/plexmediaserver/plexmediaserver.SlackBuild
+++ b/multimedia/plexmediaserver/plexmediaserver.SlackBuild
@@ -6,7 +6,7 @@
# Based on http://slackbuilds.org/template.SlackBuild
PRGNAM=plexmediaserver
-VERSION=${VERSION:-0.9.8.18.290_11b7fdd}
+VERSION=${VERSION:-0.9.9.7.429_f80a8d6}
PKG_VERSION=$(echo $VERSION | tr _ -)
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
diff --git a/multimedia/plexmediaserver/plexmediaserver.info b/multimedia/plexmediaserver/plexmediaserver.info
index 77315c0a1c3f..2ee4e39bef6d 100644
--- a/multimedia/plexmediaserver/plexmediaserver.info
+++ b/multimedia/plexmediaserver/plexmediaserver.info
@@ -1,10 +1,10 @@
PRGNAM="plexmediaserver"
-VERSION="0.9.8.18.290_11b7fdd"
+VERSION="0.9.9.7.429_f80a8d6"
HOMEPAGE="http://www.plexapp.com/connected/"
-DOWNLOAD="http://downloads.plexapp.com/plex-media-server/0.9.8.18.290-11b7fdd/plexmediaserver_0.9.8.18.290-11b7fdd_i386.deb"
-MD5SUM="9ae693e00b4297280eb05f251c166b13"
-DOWNLOAD_x86_64="http://downloads.plexapp.com/plex-media-server/0.9.8.18.290-11b7fdd/plexmediaserver_0.9.8.18.290-11b7fdd_amd64.deb"
-MD5SUM_x86_64="1da3181e54f6bbd7c6870370205e2035"
+DOWNLOAD="http://downloads.plexapp.com/plex-media-server/0.9.9.7.429-f80a8d6/plexmediaserver_0.9.9.7.429-f80a8d6_i386.deb"
+MD5SUM="d4e9d2c494023de1f0994f4934d0c4fd"
+DOWNLOAD_x86_64="http://downloads.plexapp.com/plex-media-server/0.9.9.7.429-f80a8d6/plexmediaserver_0.9.9.7.429-f80a8d6_amd64.deb"
+MD5SUM_x86_64="549121339567b55b20cb6fda1968a518"
REQUIRES=""
MAINTAINER="Lionel Young"
EMAIL="lionelyoung@gmail.com"
diff --git a/multimedia/plexmediaserver/rc.plexmediaserver b/multimedia/plexmediaserver/rc.plexmediaserver
index 93598b361c91..94267a11ea11 100644
--- a/multimedia/plexmediaserver/rc.plexmediaserver
+++ b/multimedia/plexmediaserver/rc.plexmediaserver
@@ -10,7 +10,7 @@ PIDFILE="/var/run/plexmediaserver.pid"
plexmediaserver_start() {
echo "Starting plexmediaserver..."
- CHECK=$(ps aux | grep /usr/bin/start_pms | grep -v grep)
+ CHECK=$(ps aux | grep "Plex Media Server" | grep -v grep)
STATUS=$?
# make sure plexmediaserver isn't running yet
@@ -30,16 +30,9 @@ plexmediaserver_start() {
plexmediaserver_stop() {
echo -n "Stopping plexmediaserver..."
- if [ -r $PIDFILE ]; then
- kill $(cat $PIDFILE)
- killall "Plex Media Server"
- rm $PIDFILE
- echo "done"
- else
- killall "Plex Media Server"
- rm $PIDFILE
- echo "done"
- fi
+ killall "Plex Media Server"
+ rm $PIDFILE
+ echo "done"
}
# Let's see how we are being called.
@@ -51,9 +44,9 @@ case "$1" in
plexmediaserver_stop
;;
restart)
- plexmediaserver_start
- sleep 3
plexmediaserver_stop
+ sleep 3
+ plexmediaserver_start
;;
*)
echo "Usage: $(basename $0) {start|stop|restart}"