1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/facilmap_ynh.git synced 2024-09-03 18:36:07 +02:00
This commit is contained in:
Éric Gaspar 2024-06-08 18:27:35 +02:00
parent 9851de8e34
commit a11472cc70
2 changed files with 8 additions and 4 deletions

View file

@ -10,8 +10,8 @@ Environment=NODE_ENV=production
Environment=DOTENV_CONFIG_PATH=__INSTALL_DIR__/etc/facilmap.env Environment=DOTENV_CONFIG_PATH=__INSTALL_DIR__/etc/facilmap.env
Environment="__YNH_NODE_LOAD_PATH__" Environment="__YNH_NODE_LOAD_PATH__"
#ExecStart=__INSTALL_DIR__/bin/facilmap-server #ExecStart=__INSTALL_DIR__/bin/facilmap-server
ExecStart=/usr/bin/yarn sserve WorkingDirectory=__INSTALL_DIR__/server
WorkingDirectory=__INSTALL_DIR__ ExecStart=/usr/bin/yarn serve
StandardOutput=syslog StandardOutput=syslog
StandardError=syslog StandardError=syslog
SyslogIdentifier=__APP__ SyslogIdentifier=__APP__

View file

@ -7,7 +7,7 @@ name = "Facilmap"
description.en = "Collaborative maps and routing with a straightforward interface" description.en = "Collaborative maps and routing with a straightforward interface"
description.fr = "Carte collaborative avec une interface simple et pratique" description.fr = "Carte collaborative avec une interface simple et pratique"
version = "3.4.0~ynh3" version = "4.1.1~ynh1"
maintainers = ["Squeak"] maintainers = ["Squeak"]
@ -23,8 +23,11 @@ code = "https://github.com/FacilMap/facilmap"
yunohost = ">= 11.2" yunohost = ">= 11.2"
architectures = "all" architectures = "all"
multi_instance = true multi_instance = true
ldap = false ldap = false
sso = false sso = false
disk = "50M" disk = "50M"
ram.build = "50M" ram.build = "50M"
ram.runtime = "50M" ram.runtime = "50M"
@ -86,6 +89,7 @@ ram.runtime = "50M"
[resources.sources.main] [resources.sources.main]
url = "https://github.com/FacilMap/facilmap/archive/refs/tags/v4.1.1.tar.gz" url = "https://github.com/FacilMap/facilmap/archive/refs/tags/v4.1.1.tar.gz"
sha256 = "72cf9f7fbc6e9d5c73f7c1af02be63d2c5a99d13cf89c96af834db6004c89cf6" sha256 = "72cf9f7fbc6e9d5c73f7c1af02be63d2c5a99d13cf89c96af834db6004c89cf6"
autoupdate.strategy = "latest_github_tag"
[resources.ports] [resources.ports]
@ -102,6 +106,6 @@ ram.runtime = "50M"
extras.yarn.repo = "deb https://dl.yarnpkg.com/debian/ stable main" extras.yarn.repo = "deb https://dl.yarnpkg.com/debian/ stable main"
extras.yarn.key = "https://dl.yarnpkg.com/debian/pubkey.gpg" extras.yarn.key = "https://dl.yarnpkg.com/debian/pubkey.gpg"
extras.yarn.packages = "yarn" extras.yarn.packages = "yarn"
[resources.database] [resources.database]
type = "mysql" type = "mysql"