Working idemptotent unit tests (start,stop,create,destroy)
Signed-off-by: Kris Nóva <kris@nivenly.com>
This commit is contained in:
parent
9236ba8577
commit
e69880434d
6 changed files with 70 additions and 23 deletions
|
@ -7,6 +7,13 @@
|
|||
#
|
||||
# Startup Script for the Application
|
||||
####################################
|
||||
echo "Starting [SampleApp]"
|
||||
|
||||
|
||||
if [ $(docker ps -q -f name=photoprism) ]
|
||||
then
|
||||
# Photoprism is running
|
||||
echo "[SampleApp] is already running..."
|
||||
exit 1
|
||||
fi
|
||||
echo "Starting [SampleApp]"
|
||||
docker start photoprism
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue