1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/borgwarehouse_ynh.git synced 2024-09-03 18:16:17 +02:00
This commit is contained in:
Éric Gaspar 2024-05-08 22:24:23 +02:00
parent 1dbc4b5212
commit 034f5f5fe6
3 changed files with 1 additions and 3 deletions

View file

@ -7,7 +7,7 @@ After=network.target
Type=simple Type=simple
User=__APP__ User=__APP__
Group=__APP__ Group=__APP__
Environment="PATH=__ENV_PATH__" Environment="__YNH_NODE_LOAD_PATH__"
WorkingDirectory=__INSTALL_DIR__/app WorkingDirectory=__INSTALL_DIR__/app
Environment=PORT=__PORT__ Environment=PORT=__PORT__
ExecStart=__YNH_NPM__ run start ExecStart=__YNH_NPM__ run start

View file

@ -54,7 +54,6 @@ ynh_script_progression --message="Adding system configurations related to $app..
ynh_add_nginx_config ynh_add_nginx_config
env_path="$PATH"
ynh_add_systemd_config ynh_add_systemd_config
ynh_add_config --template="cron" --destination="/etc/cron.d/$app" ynh_add_config --template="cron" --destination="/etc/cron.d/$app"

View file

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