Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ~ # cd /opt/etc/init.d
- /usr/local/zy-pkgs/opt/etc/init.d # sh -x S80NZBautomator start
- + . /opt/etc/autonzb.conf
- + SABnzbd=1
- + Nzbget=1
- + CouchPotato=1
- + SickRage=1
- + Headphones=0
- + Mylar=0
- + NzbtoMedia=1
- + packageupdate=0
- + init=/opt/etc/init.d
- + useradmin=/i-data/md0/admin
- + configdir=/opt/usr/etc/config
- + share=/opt/share
- + sabconfig=/opt/usr/etc/config/sabnzbd
- + nzbgetconfig=/opt/usr/etc/config/nzbget
- + couchconfig=/opt/usr/etc/config/couchpotato
- + sickconfig=/opt/usr/etc/config/sickbeard
- + headconfig=/opt/usr/etc/config/headphones
- + mylarconfig=/opt/usr/etc/config/mylar
- + nzbtomedia=/opt/usr/etc/config/nzbToMedia
- + python=/opt/bin/python2
- + sabdata=/opt/share/sabnzbd
- + couchdata=/opt/share/couchpotato
- + sickdata=/opt/share/SickRage
- + headdata=/opt/share/headphones
- + mylardata=/opt/share/mylar
- + SABPKG_NAME=SABnzbd
- + SABPKG_DIR=/opt/share/couchpotato
- + SABCONFIG_DIR=/opt/usr/etc/config/couchpotato
- + SABPID_FILE=/opt/usr/etc/config/couchpotato/SABnzbd.pid
- + NPKG_NAME=nzbget
- + NCONFIG_DIR=/opt/usr/etc/config/nzbget
- + NPID_FILE=/opt/usr/etc/config/nzbget/nzbget.lock
- + CPKG_NAME=CouchPotato
- + CPKG_DIR=/opt/share/couchpotato
- + CCONFIG_DIR=/opt/usr/etc/config/couchpotato
- + CPID_FILE=/opt/usr/etc/config/couchpotato/CouchPotato.pid
- + SPKG_NAME=SickRage
- + SPKG_DIR=/opt/share/SickRage
- + SCONFIG_DIR=/opt/usr/etc/config/sickbeard
- + SPID_FILE=/opt/usr/etc/config/sickbeard/SickRage.pid
- + HPKG_NAME=Headphones
- + HPKG_DIR=/opt/share/headphones
- + HCONFIG_DIR=/opt/usr/etc/config/headphones
- + HPID_FILE=/opt/usr/etc/config/headphones/Headphones.pid
- + MPKG_NAME=Mylar
- + MPKG_DIR=/opt/share/mylar
- + MCONFIG_DIR=/opt/usr/etc/config/mylar
- + MPID_FILE=/opt/usr/etc/config/mylar/Mylar.pid
- + [ 0 == 1 ]
- + cd /i-data/md0/admin
- + [ ! -d /i-data/md0/admin/download/incomplete ]
- + [ 1 == 1 ]
- + [ ! -f /opt/bin/nzbget ]
- + [ 0 == 1 ]
- + [ 1 == 1 ]
- + [ -f /opt/share/sabnzbd/SABnzbd.py ]
- + git clone https://github.com/sabnzbd/sabnzbd -b master /opt/share/sabnzbd
- Cloning into '/opt/share/sabnzbd'...
- remote: Counting objects: 45199, done.
- remote: Compressing objects: 100% (180/180), done.
- remote: Total 45199 (delta 95), reused 0 (delta 0), pack-reused 45019
- Receiving objects: 100% (45199/45199), 94.79 MiB | 1.39 MiB/s, done.
- Resolving deltas: 100% (30521/30521), done.
- Checking connectivity... done.
- + mkdir -p -m 777 /opt/usr/etc/config/sabnzbd
- + mkdir -p -m 777 /opt/usr/etc/config/sabnzbd
- + sleep 2
- + [ 1 == 1 ]
- + [ -d /opt/share/couchpotato ]
- + cd /opt/share/couchpotato
- + git pull https://github.com/RuudBurger/CouchPotatoServer
- From https://github.com/RuudBurger/CouchPotatoServer
- * branch HEAD -> FETCH_HEAD
- Already up-to-date.
- + [ 1 == 1 ]
- + [ -d /opt/share/SickRage ]
- + cd /opt/share/SickRage
- + git pull https://github.com/SickRage/SickRage.git
- From https://github.com/SickRage/SickRage
- * branch HEAD -> FETCH_HEAD
- Already up-to-date.
- + [ 0 == 1 ]
- + [ 0 == 1 ]
- + [ 1 == 1 ]
- + [ -d /opt/usr/etc/config/nzbToMedia ]
- + cd /opt/usr/etc/config/nzbToMedia
- + git pull https://github.com/clinton-hall/nzbToMedia.git
- From https://github.com/clinton-hall/nzbToMedia
- * branch HEAD -> FETCH_HEAD
- Already up-to-date.
- + [ 1 == 1 ]
- + [ -f /opt/usr/etc/config/couchpotato/SABnzbd.pid ]
- + sleep 2
- + [ -f /opt/usr/etc/config/sabnzbd/sabnzbd.ini ]
- + PYTHON_EGG_CACHE=/tmp /opt/bin/python2 /opt/share/sabnzbd/SABnzbd.py -b 0 -d --pidfile $SABPID_FILE -f $sabconfig/sabnzbd.ini
- + [ 1 == 1 ]
- + sh /opt/etc/init.d/S75nzbget stop
- Checking nzbget... alive.
- Shutting down nzbget... done.
- + sleep 2
- + [ 0 == 1 ]
- + sleep 2
- + sh /opt/etc/init.d/S75nzbget start
- Starting nzbget... done.
- + sleep 2
- + [ 1 == 1 ]
- + [ -f /opt/usr/etc/config/couchpotato/CouchPotato.pid ]
- + /bin/cat /opt/usr/etc/config/couchpotato/CouchPotato.pid
- + Pid=23541
- + i=0
- + kill 23541
- + echo -n Waiting for CouchPotato to shut down:
- Waiting for CouchPotato to shut down: + [ -d /proc/23541 ]
- + sleep 1
- + let i+=1
- + /bin/echo -n 1,
- 1, + [ 1 = 45 ]
- + [ -d /proc/23541 ]
- + rm -f /opt/usr/etc/config/couchpotato/CouchPotato.pid
- + echo CouchPotato Shutdown
- CouchPotato Shutdown
- + sleep 2
- + /opt/bin/python2 /opt/share/couchpotato/CouchPotato.py --daemon --data_dir /opt/usr/etc/config/couchpotato --config /opt/usr/etc/config/couchpotato/settings.conf --pid_file /opt/usr/etc/config/couchpotato/CouchPotato.pid
- + echo -n CouchPotato Started
- CouchPotato Started + sleep 2
- + [ 1 == 1 ]
- + [ -f /opt/usr/etc/config/sickbeard/SickRage.pid ]
- + /bin/cat /opt/usr/etc/config/sickbeard/SickRage.pid
- + Pid=23724
- + i=0
- + kill 23724
- + echo -n Waiting for SickRage to shut down:
- Waiting for SickRage to shut down: + [ -d /proc/23724 ]
- + sleep 1
- + let i+=1
- + /bin/echo -n 1,
- 1, + [ 1 = 45 ]
- + [ -d /proc/23724 ]
- + sleep 1
- + let i+=1
- + /bin/echo -n 2,
- 2, + [ 2 = 45 ]
- + [ -d /proc/23724 ]
- + sleep 1
- + let i+=1
- + /bin/echo -n 3,
- 3, + [ 3 = 45 ]
- + [ -d /proc/23724 ]
- + sleep 1
- + let i+=1
- + /bin/echo -n 4,
- 4, + [ 4 = 45 ]
- + [ -d /proc/23724 ]
- + rm -f /opt/usr/etc/config/sickbeard/SickRage.pid
- + echo SickRage Shutdown
- SickRage Shutdown
- + sleep 2
- + /opt/bin/python2 /opt/share/SickRage/SickBeard.py --datadir /opt/usr/etc/config/sickbeard --config /opt/usr/etc/config/sickbeard/config.ini -d --pidfile /opt/usr/etc/config/sickbeard/SickRage.pid
- + echo -n SickRage Started
- SickRage Started + sleep 2
- + [ 0 == 1 ]
- + echo Headphones not Installed
- Headphones not Installed
- + sleep 2
- + [ 0 == 1 ]
- + echo Mylar not Installed
- Mylar not Installed
- /usr/local/zy-pkgs/opt/etc/init.d # mc
- /usr/local/zy-pkgs/opt/etc/init.d # sh -x S80NZBautomator start
- + . /opt/etc/autonzb.conf
- + SABnzbd=1
- + Nzbget=1
- + CouchPotato=1
- + SickRage=1
- + Headphones=1
- + Mylar=0
- + NzbtoMedia=1
- + packageupdate=0
- + init=/opt/etc/init.d
- + useradmin=/i-data/md0/admin
- + configdir=/opt/usr/etc/config
- + share=/opt/share
- + sabconfig=/opt/usr/etc/config/sabnzbd
- + nzbgetconfig=/opt/usr/etc/config/nzbget
- + couchconfig=/opt/usr/etc/config/couchpotato
- + sickconfig=/opt/usr/etc/config/sickbeard
- + headconfig=/opt/usr/etc/config/headphones
- + mylarconfig=/opt/usr/etc/config/mylar
- + nzbtomedia=/opt/usr/etc/config/nzbToMedia
- + python=/opt/bin/python2
- + sabdata=/opt/share/sabnzbd
- + couchdata=/opt/share/couchpotato
- + sickdata=/opt/share/SickRage
- + headdata=/opt/share/headphones
- + mylardata=/opt/share/mylar
- + SABPKG_NAME=SABnzbd
- + SABPKG_DIR=/opt/share/couchpotato
- + SABCONFIG_DIR=/opt/usr/etc/config/couchpotato
- + SABPID_FILE=/opt/usr/etc/config/couchpotato/SABnzbd.pid
- + NPKG_NAME=nzbget
- + NCONFIG_DIR=/opt/usr/etc/config/nzbget
- + NPID_FILE=/opt/usr/etc/config/nzbget/nzbget.lock
- + CPKG_NAME=CouchPotato
- + CPKG_DIR=/opt/share/couchpotato
- + CCONFIG_DIR=/opt/usr/etc/config/couchpotato
- + CPID_FILE=/opt/usr/etc/config/couchpotato/CouchPotato.pid
- + SPKG_NAME=SickRage
- + SPKG_DIR=/opt/share/SickRage
- + SCONFIG_DIR=/opt/usr/etc/config/sickbeard
- + SPID_FILE=/opt/usr/etc/config/sickbeard/SickRage.pid
- + HPKG_NAME=Headphones
- + HPKG_DIR=/opt/share/headphones
- + HCONFIG_DIR=/opt/usr/etc/config/headphones
- + HPID_FILE=/opt/usr/etc/config/headphones/Headphones.pid
- + MPKG_NAME=Mylar
- + MPKG_DIR=/opt/share/mylar
- + MCONFIG_DIR=/opt/usr/etc/config/mylar
- + MPID_FILE=/opt/usr/etc/config/mylar/Mylar.pid
- + [ 0 == 1 ]
- + cd /i-data/md0/admin
- + [ ! -d /i-data/md0/admin/download/incomplete ]
- + [ 1 == 1 ]
- + [ ! -f /opt/bin/nzbget ]
- + [ 0 == 1 ]
- + [ 1 == 1 ]
- + [ -f /opt/share/sabnzbd/SABnzbd.py ]
- + git clone https://github.com/sabnzbd/sabnzbd -b master /opt/share/sabnzbd
- Cloning into '/opt/share/sabnzbd'...
- remote: Counting objects: 45199, done.
- remote: Compressing objects: 100% (180/180), done.
- remote: Total 45199 (delta 95), reused 0 (delta 0), pack-reused 45019
- Receiving objects: 100% (45199/45199), 94.79 MiB | 1.76 MiB/s, done.
- Resolving deltas: 100% (30521/30521), done.
- Checking connectivity... done.
- + mkdir -p -m 777 /opt/usr/etc/config/sabnzbd
- + mkdir -p -m 777 /opt/usr/etc/config/sabnzbd
- + sleep 2
- + [ 1 == 1 ]
- + [ -d /opt/share/couchpotato ]
- + cd /opt/share/couchpotato
- + git pull https://github.com/RuudBurger/CouchPotatoServer
- From https://github.com/RuudBurger/CouchPotatoServer
- * branch HEAD -> FETCH_HEAD
- Already up-to-date.
- + [ 1 == 1 ]
- + [ -d /opt/share/SickRage ]
- + cd /opt/share/SickRage
- + git pull https://github.com/SickRage/SickRage.git
- From https://github.com/SickRage/SickRage
- * branch HEAD -> FETCH_HEAD
- Already up-to-date.
- + [ 1 == 1 ]
- + [ -d /opt/share/headphones ]
- + cd /opt/share/headphones
- + git pull https://github.com/rembo10/headphones.git
- From https://github.com/rembo10/headphones
- * branch HEAD -> FETCH_HEAD
- Already up-to-date.
- + [ 0 == 1 ]
- + [ 1 == 1 ]
- + [ -d /opt/usr/etc/config/nzbToMedia ]
- + cd /opt/usr/etc/config/nzbToMedia
- + git pull https://github.com/clinton-hall/nzbToMedia.git
- From https://github.com/clinton-hall/nzbToMedia
- * branch HEAD -> FETCH_HEAD
- Already up-to-date.
- + [ 1 == 1 ]
- + [ -f /opt/usr/etc/config/couchpotato/SABnzbd.pid ]
- + sleep 2
- + [ -f /opt/usr/etc/config/sabnzbd/sabnzbd.ini ]
- + PYTHON_EGG_CACHE=/tmp /opt/bin/python2 /opt/share/sabnzbd/SABnzbd.py -b 0 -d --pidfile $SABPID_FILE -f $sabconfig/sabnzbd.ini
- + [ 1 == 1 ]
- + sh /opt/etc/init.d/S75nzbget stop
- Checking nzbget... alive.
- Shutting down nzbget... done.
- + sleep 2
- + [ 0 == 1 ]
- + sleep 2
- + sh /opt/etc/init.d/S75nzbget start
- Starting nzbget... done.
- + sleep 2
- + [ 1 == 1 ]
- + [ -f /opt/usr/etc/config/couchpotato/CouchPotato.pid ]
- + /bin/cat /opt/usr/etc/config/couchpotato/CouchPotato.pid
- + Pid=8864
- + i=0
- + kill 8864
- + echo -n Waiting for CouchPotato to shut down:
- Waiting for CouchPotato to shut down: + [ -d /proc/8864 ]
- + sleep 1
- + let i+=1
- + /bin/echo -n 1,
- 1, + [ 1 = 45 ]
- + [ -d /proc/8864 ]
- + rm -f /opt/usr/etc/config/couchpotato/CouchPotato.pid
- + echo CouchPotato Shutdown
- CouchPotato Shutdown
- + sleep 2
- + /opt/bin/python2 /opt/share/couchpotato/CouchPotato.py --daemon --data_dir /opt/usr/etc/config/couchpotato --config /opt/usr/etc/config/couchpotato/settings.conf --pid_file /opt/usr/etc/config/couchpotato/CouchPotato.pid
- + echo -n CouchPotato Started
- CouchPotato Started + sleep 2
- + [ 1 == 1 ]
- + [ -f /opt/usr/etc/config/sickbeard/SickRage.pid ]
- + /bin/cat /opt/usr/etc/config/sickbeard/SickRage.pid
- + Pid=9035
- + i=0
- + kill 9035
- + echo -n Waiting for SickRage to shut down:
- Waiting for SickRage to shut down: + [ -d /proc/9035 ]
- + sleep 1
- + let i+=1
- + /bin/echo -n 1,
- 1, + [ 1 = 45 ]
- + [ -d /proc/9035 ]
- + sleep 1
- + let i+=1
- + /bin/echo -n 2,
- 2, + [ 2 = 45 ]
- + [ -d /proc/9035 ]
- + sleep 1
- + let i+=1
- + /bin/echo -n 3,
- 3, + [ 3 = 45 ]
- + [ -d /proc/9035 ]
- + sleep 1
- + let i+=1
- + /bin/echo -n 4,
- 4, + [ 4 = 45 ]
- + [ -d /proc/9035 ]
- + sleep 1
- + let i+=1
- + /bin/echo -n 5,
- 5, + [ 5 = 45 ]
- + [ -d /proc/9035 ]
- + rm -f /opt/usr/etc/config/sickbeard/SickRage.pid
- + echo SickRage Shutdown
- SickRage Shutdown
- + sleep 2
- + /opt/bin/python2 /opt/share/SickRage/SickBeard.py --datadir /opt/usr/etc/config/sickbeard --config /opt/usr/etc/config/sickbeard/config.ini -d --pidfile /opt/usr/etc/config/sickbeard/SickRage.pid
- + echo -n SickRage Started
- SickRage Started + sleep 2
- + [ 1 == 1 ]
- + [ -f /opt/usr/etc/config/headphones/Headphones.pid ]
- + sleep 2
- + /opt/bin/python2 /opt/share/headphones/Headphones.py --datadir /opt/usr/etc/config/headphones -d --pidfile /opt/usr/etc/config/headphones/Headphones.pid
- + echo -n Headphones Started
- Headphones Started + sleep 2
- + [ 0 == 1 ]
- + echo Mylar not Installed
- Mylar not Installed
- /usr/local/zy-pkgs/opt/etc/init.d #
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement