Moves supported application to a file

This commit is contained in:
pierreozoux 2015-03-04 11:54:50 +00:00
parent 9d7ccf9058
commit 0aee36709b
3 changed files with 7 additions and 2 deletions

1
SUPPORTED_APPLICATIONS Normal file
View file

@ -0,0 +1 @@
static wordpress known piwik owncloud

View file

@ -1,8 +1,10 @@
#!/bin/bash -eux
ROOT_DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )/..
systemctl list-units | grep -c failed | grep 0
applications=( static wordpress known piwik owncloud )
applications=( `cat $ROOT_DIR/SUPPORTED_APPLICATIONS` )
for application in "${applications[@]}"
do

View file

@ -1,6 +1,8 @@
#!/bin/bash -eux
applications=( static wordpress known piwik owncloud )
ROOT_DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )/..
applications=( `cat $ROOT_DIR/SUPPORTED_APPLICATIONS` )
for application in "${applications[@]}"
do