apkbuilds @ 88dc399dbb4d5359006c745d138e65183b818842

ref: Add option to change the user
 1diff --git a/apks/photoview/APKBUILD b/apks/photoview/APKBUILD
 2index a9c4fac4703efd85f15ae1dfaf38584422e5f25f..56eeb8b948b387a3ccdc6a0589cf9548ff77eee7 100644
 3--- a/apks/photoview/APKBUILD
 4+++ b/apks/photoview/APKBUILD
 5@@ -1,7 +1,7 @@
 6 # Maintainer: Gabriel Giovanini <mail@gabrielgio.me>
 7 pkgname=photoview
 8 pkgver=2.3.13
 9-pkgrel=3
10+pkgrel=4
11 pkgdesc="Photo gallery for self-hosted personal servers"
12 url="https://github.com/photoview/photoview"
13 arch="x86_64"
14diff --git a/apks/photoview/photoview.confd b/apks/photoview/photoview.confd
15index 0c90d9ef153572ecc7c734f5ea4f0e96844fbe7e..cb062b6e4d97c0d65aa831ab15a6f98db620069c 100644
16--- a/apks/photoview/photoview.confd
17+++ b/apks/photoview/photoview.confd
18@@ -15,3 +15,8 @@ # disable features
19 PHOTOVIEW_DISABLE_FACE_RECOGNITION=1
20 PHOTOVIEW_DISABLE_VIDEO_ENCODING=0
21 PHOTOVIEW_DISABLE_RAW_PROCESSING=0
22+
23+
24+# comment this out for old style service management
25+#supervisor=supervise-daemon
26+#command_user=photoview:photoview
27diff --git a/apks/photoview/photoview.initd b/apks/photoview/photoview.initd
28index 04a799c90d4c2b5910bce2028724061911ee584b..bbc3cda9d5ed8a6c815598d0c0f2884316f0d6ec 100644
29--- a/apks/photoview/photoview.initd
30+++ b/apks/photoview/photoview.initd
31@@ -3,7 +3,7 @@ supervisor=supervise-daemon
32 
33 command="/usr/bin/photoview"
34 command_background="yes"
35-command_user="photoview:photoview"
36+: ${command_user:="photoview:photoview"}
37 
38 # database
39 export PHOTOVIEW_DATABASE_DRIVER