1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/eleventy_ynh.git synced 2024-09-03 18:26:32 +02:00

Revert "cleaning"

This reverts commit 83c07674bc.
This commit is contained in:
Éric Gaspar 2023-05-12 21:01:26 +02:00
parent 83c07674bc
commit be2b99a7e1
3 changed files with 4 additions and 0 deletions

View file

@ -7,6 +7,8 @@ Type=simple
User=__APP__
Group=__APP__
WorkingDirectory=__INSTALL_DIR__/
Environment=PATH=__ENV_PATH__
Environment=NODE_ENV=production
ExecStart=__INSTALL_DIR__/cmd.js --serve --port=__PORT__ --watch --quiet
Restart=always

View file

@ -40,6 +40,7 @@ ynh_script_progression --message="Adding system configurations related to $app..
# Create a dedicated NGINX config using the conf/nginx.conf template
ynh_add_nginx_config
env_path="$PATH"
# Create a dedicated systemd config
ynh_add_systemd_config

View file

@ -49,6 +49,7 @@ ynh_script_progression --message="Upgrading system configurations related to $ap
ynh_add_nginx_config
env_path="$PATH"
ynh_add_systemd_config
yunohost service add $app --description="Simpler site generator" --log="/var/log/$app/$app.log"