Update photoprism-install.sh
This commit is contained in:
parent
164970fbce
commit
380e387895
1 changed files with 1 additions and 7 deletions
|
@ -1,5 +1,5 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# inspired by https://github.com/IndrekHaav/photoprism-debian
|
||||||
set -o errexit
|
set -o errexit
|
||||||
set -o errtrace
|
set -o errtrace
|
||||||
set -o nounset
|
set -o nounset
|
||||||
|
@ -110,12 +110,6 @@ PHOTOPRISM_ADMIN_PASSWORD='photoprism'
|
||||||
PHOTOPRISM_STORAGE_PATH='/var/lib/photoprism'
|
PHOTOPRISM_STORAGE_PATH='/var/lib/photoprism'
|
||||||
PHOTOPRISM_ORIGINALS_PATH='/var/lib/photoprism/photos/Originals'
|
PHOTOPRISM_ORIGINALS_PATH='/var/lib/photoprism/photos/Originals'
|
||||||
PHOTOPRISM_IMPORT_PATH='/var/lib/photoprism/photos/Import'
|
PHOTOPRISM_IMPORT_PATH='/var/lib/photoprism/photos/Import'
|
||||||
# Uncomment below if using MariaDB/MySQL instead of SQLite (the default)
|
|
||||||
# PHOTOPRISM_DATABASE_DRIVER='mysql'
|
|
||||||
# PHOTOPRISM_DATABASE_SERVER='MYSQL_IP_HERE'
|
|
||||||
# PHOTOPRISM_DATABASE_NAME='DB_NAME'
|
|
||||||
# PHOTOPRISM_DATABASE_USER='USER_NAME'
|
|
||||||
# PHOTOPRISM_DATABASE_PASSWORD='PASSWORD'
|
|
||||||
" > $env_path
|
" > $env_path
|
||||||
|
|
||||||
echo -en "${GN} Creating Service file photoprism.service... "
|
echo -en "${GN} Creating Service file photoprism.service... "
|
||||||
|
|
Loading…
Reference in a new issue