mirror of
https://github.com/iio612/immich-native.git
synced 2026-04-16 11:31:07 +00:00
Use centralized start.sh
Signed-off-by: Juhyung Park <qkrwngud825@gmail.com>
This commit is contained in:
@@ -14,7 +14,7 @@ UMask=0077
|
||||
|
||||
WorkingDirectory=/var/lib/immich/app
|
||||
EnvironmentFile=/var/lib/immich/env
|
||||
ExecStart=node /var/lib/immich/app/dist/main
|
||||
ExecStart=/var/lib/immich/app/start.sh
|
||||
|
||||
SyslogIdentifier=immich
|
||||
StandardOutput=append:/var/log/immich/immich.log
|
||||
|
||||
@@ -140,6 +140,8 @@ cd $APP
|
||||
exec node $APP/dist/main "\$@"
|
||||
EOF
|
||||
|
||||
chmod 700 $APP/start.sh
|
||||
|
||||
cat <<EOF > $APP/machine-learning/start.sh
|
||||
#!/bin/bash
|
||||
|
||||
|
||||
Reference in New Issue
Block a user