Server: Move process handling and shutdown to separate package #4767

Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
Michael Mayer
2025-02-04 19:05:26 +01:00
parent 8e16a7a67e
commit ae5f35259c
10 changed files with 123 additions and 42 deletions

2
scripts/dist/cmd.sh vendored
View File

@@ -88,7 +88,7 @@ echo "backup path...: ${PHOTOPRISM_BACKUP_PATH:-default}"
echo "import path...: ${PHOTOPRISM_IMPORT_PATH:-default}"
echo "originals path: ${PHOTOPRISM_ORIGINALS_PATH:-default}"
# error code of the last executed command
# exit status code of the last command executed
ret=0
# change to another user and group on request