1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/tooljet_ynh.git synced 2024-10-01 13:34:55 +02:00
This commit is contained in:
Tagadda 2022-03-24 09:38:44 +00:00
parent 9a6930e320
commit ddb839dfd9
3 changed files with 5 additions and 3 deletions

View file

@ -20,7 +20,7 @@ CHECK_FOR_UPDATES=check_if_updates_are_available
# EMAIL CONFIGURATION # EMAIL CONFIGURATION
DEFAULT_FROM_EMAIL=tooljet@__DOMAIN__ DEFAULT_FROM_EMAIL=tooljet@__DOMAIN__
SMTP_DOMAIN=localhost SMTP_DOMAIN=__MAIN_DOMAIN__
SMTP_PORT=25 SMTP_PORT=25
# DISABLE USER SIGNUPS (true or false). Default: true # DISABLE USER SIGNUPS (true or false). Default: true

View file

@ -1,5 +1,5 @@
[Unit] [Unit]
Description=Small description of the service Description=ToolJet server
After=network.target After=network.target
[Service] [Service]
@ -8,7 +8,7 @@ User=__APP__
Group=__APP__ Group=__APP__
WorkingDirectory=__FINALPATH__/ WorkingDirectory=__FINALPATH__/
Environment="__YNH_NODE_LOAD_PATH__" Environment="__YNH_NODE_LOAD_PATH__"
ExecStart=__YNH_NPM__ start:prod ExecStart=__YNH_NPM__ run start:prod
StandardOutput=append:/var/log/__APP__/__APP__.log StandardOutput=append:/var/log/__APP__/__APP__.log
StandardError=inherit StandardError=inherit

View file

@ -9,6 +9,8 @@ pkg_dependencies="postgresql postgresql-contrib libpq-dev"
NODEJS_VERSION="14" NODEJS_VERSION="14"
main_domain=$(cat /etc/yunohost/current_host)
#================================================= #=================================================
# PERSONAL HELPERS # PERSONAL HELPERS
#================================================= #=================================================