1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/bonfire_ynh.git synced 2024-09-03 18:16:01 +02:00

use proper YNH NODE

This commit is contained in:
lapineige 2024-01-21 12:49:02 +01:00 committed by GitHub
parent a6b9a7c090
commit c8363b2d7c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -7,7 +7,10 @@ Type=simple
User=__APP__ User=__APP__
Group=__APP__ Group=__APP__
WorkingDirectory=__INSTALL_DIR__/ WorkingDirectory=__INSTALL_DIR__/
ExecStart=WITH_DOCKER=no just cmd __INSTALL_DIR__/_build/prod/rel/bonfire/bin/bonfire start daemon Environment=NODE_ENV=production
Environment=NODE_CONFIG_DIR=__INSTALL_DIR__/config
Environment="__YNH_NODE_LOAD_PATH__"
ExecStart=WITH_DOCKER=no __YNH_NODE__ just cmd __INSTALL_DIR__/_build/prod/rel/bonfire/bin/bonfire start daemon
StandardOutput=append:/var/log/__APP__/__APP__.log StandardOutput=append:/var/log/__APP__/__APP__.log
StandardError=inherit StandardError=inherit