Skip to content

Commit

Permalink
Added Flood to Travis-CI
Browse files Browse the repository at this point in the history
* Added Flood to Travis-CI
* Fixed Flood Init.d startup scripts
  • Loading branch information
TommyE123 authored Apr 16, 2018
1 parent 27a87fc commit 6675f1e
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 8 deletions.
10 changes: 6 additions & 4 deletions batch-processes/bat-apps-install-uninstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,17 @@ source "$SCRIPTPATH/setup.sh" -i deluged
source "$SCRIPTPATH/setup.sh" -u deluged
source "$SCRIPTPATH/setup.sh" -i filebot
source "$SCRIPTPATH/setup.sh" -u filebot
source "$SCRIPTPATH/setup.sh" -i grafana
# source "$SCRIPTPATH/setup.sh" -x grafana
source "$SCRIPTPATH/setup.sh" -u grafana
source "$SCRIPTPATH/setup.sh" -i flood # Installs Node which runs on port 3000
source "$SCRIPTPATH/setup.sh" -u flood
source "$SCRIPTPATH/setup.sh" -i emby-server
# source "$SCRIPTPATH/setup.sh" -x emby-server
source "$SCRIPTPATH/setup.sh" -u emby-server
source "$SCRIPTPATH/setup.sh" -i glances
# source "$SCRIPTPATH/setup.sh" -x glances
source "$SCRIPTPATH/setup.sh" -u glances
source "$SCRIPTPATH/setup.sh" -i grafana
# source "$SCRIPTPATH/setup.sh" -x grafana
source "$SCRIPTPATH/setup.sh" -u grafana
source "$SCRIPTPATH/setup.sh" -i headphones
# source "$SCRIPTPATH/setup.sh" -x headphones
source "$SCRIPTPATH/setup.sh" -u headphones
Expand Down Expand Up @@ -81,7 +83,7 @@ source "$SCRIPTPATH/setup.sh" -u rclone-browser
source "$SCRIPTPATH/setup.sh" -i resilio-sync
# source "$SCRIPTPATH/setup.sh" -x resilio-sync
source "$SCRIPTPATH/setup.sh" -u resilio-sync
source "$SCRIPTPATH/setup.sh" -i rtorrent
# source "$SCRIPTPATH/setup.sh" -i rtorrent
source "$SCRIPTPATH/setup.sh" -u rtorrent
source "$SCRIPTPATH/setup.sh" -i sabnzbdplus
# source "$SCRIPTPATH/setup.sh" -x sabnzbdplus
Expand Down
2 changes: 1 addition & 1 deletion batch-processes/bat-apps-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ source "$SCRIPTPATH/setup.sh" -i couchpotato
# source "$SCRIPTPATH/setup.sh" -i deluged
source "$SCRIPTPATH/setup.sh" -i emby-server
source "$SCRIPTPATH/setup.sh" -i filebot
source "$SCRIPTPATH/setup.sh" -i flood
source "$SCRIPTPATH/setup.sh" -i glances
source "$SCRIPTPATH/setup.sh" -i grafana
source "$SCRIPTPATH/setup.sh" -i headphones
Expand All @@ -29,7 +30,6 @@ source "$SCRIPTPATH/setup.sh" -i radarr
source "$SCRIPTPATH/setup.sh" -i rclone
source "$SCRIPTPATH/setup.sh" -i rclone-browser
source "$SCRIPTPATH/setup.sh" -i resilio-sync
source "$SCRIPTPATH/setup.sh" -i rtorrent
source "$SCRIPTPATH/setup.sh" -i rutorrent
source "$SCRIPTPATH/setup.sh" -i sabnzbdplus
# source "$SCRIPTPATH/setup.sh" -i sickgear
Expand Down
1 change: 1 addition & 0 deletions batch-processes/bat-apps-uninstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ source "$SCRIPTPATH/setup.sh" -u couchpotato
source "$SCRIPTPATH/setup.sh" -u deluged
source "$SCRIPTPATH/setup.sh" -u emby-server
source "$SCRIPTPATH/setup.sh" -u filebot
source "$SCRIPTPATH/setup.sh" -u flood
source "$SCRIPTPATH/setup.sh" -u glances
source "$SCRIPTPATH/setup.sh" -u grafana
source "$SCRIPTPATH/setup.sh" -u headphones
Expand Down
2 changes: 1 addition & 1 deletion batch-processes/bat-apps-update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ source "$SCRIPTPATH/setup.sh" -m couchpotato
source "$SCRIPTPATH/setup.sh" -m deluged
source "$SCRIPTPATH/setup.sh" -m emby-server
source "$SCRIPTPATH/setup.sh" -m filebot
source "$SCRIPTPATH/setup.sh" -m flood
source "$SCRIPTPATH/setup.sh" -m glances
source "$SCRIPTPATH/setup.sh" -m grafana
source "$SCRIPTPATH/setup.sh" -m headphones
Expand All @@ -29,7 +30,6 @@ source "$SCRIPTPATH/setup.sh" -m radarr
source "$SCRIPTPATH/setup.sh" -m rclone
source "$SCRIPTPATH/setup.sh" -m rclone-browser
source "$SCRIPTPATH/setup.sh" -m resilio-sync
source "$SCRIPTPATH/setup.sh" -m rtorrent
source "$SCRIPTPATH/setup.sh" -m rutorrent
source "$SCRIPTPATH/setup.sh" -m sabnzbdplus
source "$SCRIPTPATH/setup.sh" -m sickgear
Expand Down
7 changes: 7 additions & 0 deletions flood/flood-init-update.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash
# Script Name: AtoMiC Flood init.d update

echo 'Updating init.d file'

ReplaceString "user=\"ReplaceMe\"" "user=\"$UNAME\"" /etc/init.d/$APPINITD
ReplaceString "group=\"ReplaceMe\"" "group=\"$UGROUP\"" /etc/init.d/$APPINITD
1 change: 1 addition & 0 deletions flood/flood-installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ source "$SCRIPTPATH/rtorrent/rtorrent-installer.sh"
source "$SCRIPTPATH/utils/nodejs/nodejs-installer.sh"
source "$SCRIPTPATH/utils/python/python-installer.sh"
source "$SCRIPTPATH/flood/flood-constants.sh"
source "$SCRIPTPATH/inc/app-autostart-remove.sh"
source "$SCRIPTPATH/inc/app-move-previous.sh"
source "$SCRIPTPATH/inc/app-git-download.sh"
source "$SCRIPTPATH/inc/app-install-npm-deps.sh"
Expand Down
5 changes: 3 additions & 2 deletions flood/flood.init
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
#!/bin/sh
### BEGIN INIT INFO
# Provides: Glances
# Provides: Flood
# Required-Start: $local_fs $network $remote_fs $syslog
# Required-Stop: $local_fs $network $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start daemon at boot time
# Description: Enable service provided by daemon.
### END INIT INFO
cd /opt/flood

user="ReplaceMe"
group="ReplaceMe"
cmd="/usr/local/bin/glances -w"
cmd="/usr/bin/npm start /opt/flood"

name=`basename $0`
PIDDIR="/var/run/$name"
Expand Down
1 change: 1 addition & 0 deletions inc/app-constant-reset.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,4 @@ REPRECVKEYS=''
REPRECVKEYSASC=''
REPRECVKEYSHORT=''
USERSEARCH=''
TEMPDIST=''

0 comments on commit 6675f1e

Please sign in to comment.