photoprism-client-go/sample-app/pstart
Kris Nóva e69880434d Working idemptotent unit tests (start,stop,create,destroy)
Signed-off-by: Kris Nóva <kris@nivenly.com>
2021-02-11 11:25:45 -08:00

19 lines
323 B
Bash
Executable file

#!/bin/bash
####################################
#####
###
##
#
#
# Startup Script for the Application
####################################
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