1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/penpot_ynh.git synced 2024-09-03 19:56:56 +02:00

Downgrade node.

This commit is contained in:
orhtej2 2024-02-10 13:41:58 +01:00
parent d6ada6eade
commit b946a43556
2 changed files with 7 additions and 2 deletions

View file

@ -12,6 +12,11 @@ WorkingDirectory=__INSTALL_DIR__/exporter
ExecStart=__YNH_NODE__ --env-file=.env app.js ExecStart=__YNH_NODE__ --env-file=.env app.js
Restart=always Restart=always
Environment=__YNH_NODE_LOAD_PATH__ Environment=__YNH_NODE_LOAD_PATH__
Environment=NODE_ENV=production
Environment=PENPOT_HTTP_SERVER_PORT=__PORT_EXPORTER__
Environment=PENPOT_HTTP_SERVER_host="127.0.0.1"
Environment=PENPOT_PUBLIC_URI="https://__DOMAIN__"
Environment=PENPOT_REDIS_URI="redis://127.0.0.1:6379/__REDIS_DB__"
StandardOutput=append:/var/log/__APP__/__APP__-exporter.log StandardOutput=append:/var/log/__APP__/__APP__-exporter.log
StandardError=inherit StandardError=inherit
Restart=on-failure Restart=on-failure

View file

@ -4,8 +4,8 @@
# COMMON VARIABLES # COMMON VARIABLES
#================================================= #=================================================
nodejs_version=20 nodejs_version=18
current_hash=cc5b1c950be5b1b290ea76e3419057dffaeab797 current_hash="1eaf7b2b44a9e8928a70d9a882f4372602700695"
#================================================= #=================================================
# PERSONAL HELPERS # PERSONAL HELPERS