From 993605a74783d2bf1f459b889a3fd2eabd9c9b13 Mon Sep 17 00:00:00 2001 From: Limezy Date: Fri, 3 Jun 2022 23:40:06 +0700 Subject: [PATCH] Updates --- conf/systemd.service | 2 +- manifest.json | 2 +- scripts/install | 10 ---------- 3 files changed, 2 insertions(+), 12 deletions(-) diff --git a/conf/systemd.service b/conf/systemd.service index 31e9da3..d6c0ef5 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -7,7 +7,7 @@ Type=simple User=__APP__ Group=__APP__ WorkingDirectory=__FINALPATH__/ -ExecStart=__FINALPATH__/script +ExecStart=__FINALPATH__/build/bin/photoprism --config-path ./config/ --trace start StandardOutput=append:/var/log/__APP__/__APP__.log StandardError=inherit diff --git a/manifest.json b/manifest.json index 0d96010..241ceff 100644 --- a/manifest.json +++ b/manifest.json @@ -1,5 +1,5 @@ { - "name": "Example app", + "name": "Photoprism", "id": "example", "packaging_format": 1, "description": { diff --git a/scripts/install b/scripts/install index 41279b9..750f745 100755 --- a/scripts/install +++ b/scripts/install @@ -30,16 +30,6 @@ is_public=$YNH_APP_ARG_IS_PUBLIC language=$YNH_APP_ARG_LANGUAGE password=$YNH_APP_ARG_PASSWORD -### If it's a multi-instance app, meaning it can be installed several times independently -### The id of the app as stated in the manifest is available as $YNH_APP_ID -### The instance number is available as $YNH_APP_INSTANCE_NUMBER (equals "1", "2"...) -### The app instance name is available as $YNH_APP_INSTANCE_NAME -### - the first time the app is installed, YNH_APP_INSTANCE_NAME = ynhexample -### - the second time the app is installed, YNH_APP_INSTANCE_NAME = ynhexample__2 -### - ynhexample__{N} for the subsequent installations, with N=3,4... -### The app instance name is probably what interests you most, since this is -### guaranteed to be unique. This is a good unique identifier to define installation path, -### db names... app=$YNH_APP_INSTANCE_NAME if [ $language == "fr" ]; then