Moves supported application to a file
This commit is contained in:
parent
9d7ccf9058
commit
0aee36709b
3 changed files with 7 additions and 2 deletions
1
SUPPORTED_APPLICATIONS
Normal file
1
SUPPORTED_APPLICATIONS
Normal file
|
@ -0,0 +1 @@
|
|||
static wordpress known piwik owncloud
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue