mirror of
https://github.com/photoprism/photoprism.git
synced 2026-07-17 16:49:04 +00:00
Tests: Make acceptance-*-restart targets stop the daemon first
This commit is contained in:
parent
84491de31b
commit
a2f8b23b19
2 changed files with 49 additions and 3 deletions
48
.ldap.cfg
48
.ldap.cfg
|
|
@ -239,6 +239,48 @@ debug = false
|
|||
action = "search"
|
||||
object = "*"
|
||||
|
||||
[[users]]
|
||||
name = "mona"
|
||||
givenname = "Mona"
|
||||
objectClass = "manager"
|
||||
displayName = "Mona Man"
|
||||
sn = "Man"
|
||||
userPrincipalName = "mona@example.com"
|
||||
mail = "mona@example.com"
|
||||
uidnumber = 5011
|
||||
primarygroup = 5511
|
||||
loginShell = "/bin/bash"
|
||||
otherGroups = [5505]
|
||||
passsha256 = "4314c1fe282face45336b1422a3285c5ff31a39c8e24425615fa53a43b718493" # photoprism
|
||||
[[users.customattributes]]
|
||||
photoprismRoleManager = ["true"]
|
||||
photoprismNoLogin = ["false"]
|
||||
photoprismWebdav = ["true"]
|
||||
[[users.capabilities]]
|
||||
action = "search"
|
||||
object = "*"
|
||||
|
||||
[[users]]
|
||||
name = "laura"
|
||||
givenname = "Laura"
|
||||
objectClass = "admin"
|
||||
displayName = "Laura Scope"
|
||||
sn = "Doe"
|
||||
userPrincipalName = "laura@example.com"
|
||||
mail = "laura@example.com"
|
||||
uidnumber = 5001
|
||||
primarygroup = 5501
|
||||
loginShell = "/bin/bash"
|
||||
otherGroups = [5501, 5508]
|
||||
passsha256 = "4314c1fe282face45336b1422a3285c5ff31a39c8e24425615fa53a43b718493" # photoprism
|
||||
[[users.customattributes]]
|
||||
photoprismRoleAdmin = ["true"]
|
||||
photoprismNoLogin = ["false"]
|
||||
photoprismWebdav = ["true"]
|
||||
[[users.capabilities]]
|
||||
action = "search"
|
||||
object = "*"
|
||||
|
||||
[[users]]
|
||||
name = "max"
|
||||
givenname = "Max"
|
||||
|
|
@ -298,4 +340,8 @@ debug = false
|
|||
|
||||
[[groups]]
|
||||
name = "PhotoPrism-viewer"
|
||||
gidnumber = 5510
|
||||
gidnumber = 5510
|
||||
|
||||
[[groups]]
|
||||
name = "PhotoPrism-manager"
|
||||
gidnumber = 5511
|
||||
4
Makefile
4
Makefile
|
|
@ -221,7 +221,7 @@ install-onnx:
|
|||
sudo scripts/dist/install-onnx.sh
|
||||
install-darktable:
|
||||
sudo scripts/dist/install-darktable.sh
|
||||
acceptance-sqlite-restart:
|
||||
acceptance-sqlite-restart: acceptance-sqlite-stop
|
||||
cp -f storage/acceptance/backup.db storage/acceptance/index.db
|
||||
cp -f storage/acceptance/config-sqlite/settingsBackup.yml storage/acceptance/config-sqlite/settings.yml
|
||||
rm -rf storage/acceptance/sidecar/2020
|
||||
|
|
@ -234,7 +234,7 @@ acceptance-sqlite-restart:
|
|||
./photoprism --auth-mode="public" -c "./storage/acceptance/config-sqlite" start -d
|
||||
acceptance-sqlite-stop:
|
||||
./photoprism --auth-mode="public" -c "./storage/acceptance/config-sqlite" stop
|
||||
acceptance-auth-sqlite-restart:
|
||||
acceptance-auth-sqlite-restart: acceptance-auth-sqlite-stop
|
||||
cp -f storage/acceptance/backup.db storage/acceptance/index.db
|
||||
cp -f storage/acceptance/config-sqlite/settingsBackup.yml storage/acceptance/config-sqlite/settings.yml
|
||||
./photoprism --auth-mode="password" -c "./storage/acceptance/config-sqlite" start -d
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue