photoprism-client-go/sample-app/pstart

20 lines
323 B
Plaintext
Raw Normal View History

#!/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