2021-02-03 20:00:11 +01:00
|
|
|
#!/bin/bash
|
|
|
|
####################################
|
|
|
|
#####
|
|
|
|
###
|
|
|
|
##
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# Startup Script for the Application
|
|
|
|
####################################
|
|
|
|
|
2021-02-11 20:25:45 +01:00
|
|
|
|
|
|
|
if [ $(docker ps -q -f name=photoprism) ]
|
|
|
|
then
|
|
|
|
# Photoprism is running
|
|
|
|
echo "[SampleApp] is already running..."
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
echo "Starting [SampleApp]"
|
2021-02-03 20:00:11 +01:00
|
|
|
docker start photoprism
|