mirror of
https://github.com/YunoHost-Apps/photoprism_ynh.git
synced 2024-09-03 19:56:41 +02:00
First step fix
This commit is contained in:
parent
af39164584
commit
f7b81fac24
2 changed files with 13 additions and 2 deletions
|
@ -6,6 +6,17 @@ After=network.target
|
|||
Type=simple
|
||||
User=__APP__
|
||||
Group=__APP__
|
||||
|
||||
# Have all filesystem look like invisible for the service
|
||||
TemporaryFileSystem=/:ro
|
||||
|
||||
# Manually mount what is needed for the service to run
|
||||
# Ref: https://www.sherbers.de/use-temporaryfilesystem-to-hide-files-or-directories-from-systemd-services/
|
||||
|
||||
BindReadOnlyPaths=/lib/ /lib64/ /usr/lib/ /usr/lib64/ /etc/ld.so.cache /etc/ld.so.conf /etc/ld.so.conf.d/ /etc/bindresvport.blacklist /usr/share/zoneinfo/ /usr/share/locale/ /etc/localtime /usr/share/common-licenses/ /etc/ssl/certs/ /etc/alternatives/
|
||||
BindReadOnlyPaths=/dev/log /run/systemd/journal/socket /run/systemd/journal/stdout /run/systemd/notify
|
||||
BindPaths=/var/www/photoprism /var/www/photoprism/live/bin /home/yunohost.app/photoprism /usr /etc /var /home /dev /etc /usr /media /mnt /opt /proc /run /srv /sys /tmp
|
||||
|
||||
EnvironmentFile=__FINALPATH__/.env
|
||||
WorkingDirectory=__FINALPATH__/live/bin
|
||||
ExecStart=__FINALPATH__/live/bin/photoprism --trace start
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
"en": "AI-Powered Photos App for the Decentralized Web",
|
||||
"fr": "Gestion de photos en ligne"
|
||||
},
|
||||
"version": "2022.07.30~ynh2",
|
||||
"version": "2022.07.30~ynh3",
|
||||
"url": "photoprism.app",
|
||||
"upstream": {
|
||||
"license": "AGPL-3.0-only",
|
||||
|
@ -21,7 +21,7 @@
|
|||
"name": "Thovi98"
|
||||
},
|
||||
"requirements": {
|
||||
"yunohost": ">= 4.3.6.2"
|
||||
"yunohost": ">= 11.0.9.12"
|
||||
},
|
||||
"multi_instance": true,
|
||||
"services": [
|
||||
|
|
Loading…
Add table
Reference in a new issue