diff options
Diffstat (limited to 'media-tv')
-rw-r--r-- | media-tv/plex-media-server/files/plex-media-server.conf.d | 7 | ||||
-rw-r--r-- | media-tv/plex-media-server/files/plex-media-server.init.d | 16 |
2 files changed, 0 insertions, 23 deletions
diff --git a/media-tv/plex-media-server/files/plex-media-server.conf.d b/media-tv/plex-media-server/files/plex-media-server.conf.d deleted file mode 100644 index 7fe754fb1d81..000000000000 --- a/media-tv/plex-media-server/files/plex-media-server.conf.d +++ /dev/null @@ -1,7 +0,0 @@ -# Config file for /etc/init.d/plex-media-server - -PLEX_PIDFILE="/var/run/plex-media-server.pid" -PLEX_OUTLOG="/var/log/pms/out.log" -PLEX_ERRLOG="/var/log/pms/err.log" -PLEX_USER="plex" -PLEX_SCRIPT="/usr/sbin/start_pms" diff --git a/media-tv/plex-media-server/files/plex-media-server.init.d b/media-tv/plex-media-server/files/plex-media-server.init.d deleted file mode 100644 index 81204c87335c..000000000000 --- a/media-tv/plex-media-server/files/plex-media-server.init.d +++ /dev/null @@ -1,16 +0,0 @@ -#!/sbin/openrc-run - -start() { - ebegin "Starting Plex Media Server" - start-stop-daemon -S -m -p ${PLEX_PIDFILE} -1 ${PLEX_OUTLOG} -2 ${PLEX_ERRLOG} --quiet -u ${PLEX_USER} -N -5 -b --exec ${PLEX_SCRIPT} - eend $? -} - -stop() { - ebegin "Stopping Plex Media Server" - kill -- -`cat ${PLEX_PIDFILE}` - - # Remove stale pid file since this is a dirty solution - rm ${PLEX_PIDFILE} - eend $? -} |