1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/cac-proxy_ynh.git synced 2024-09-03 18:16:07 +02:00
This commit is contained in:
Gérard Collin 2024-09-01 11:35:37 +02:00 committed by GitHub
commit 0ac85381d9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View file

@ -8,7 +8,7 @@ User=__APP__
Group=__APP__
EnvironmentFile=__INSTALL_DIR__/.env
WorkingDirectory=__INSTALL_DIR__/package/
ExecStart=__YNH_NODE__ ./src/server.js
ExecStart=__NODEJS_DIR__/node ./src/server.js
StandardOutput=append:/var/log/__APP__/__APP__.log
StandardError=inherit

View file

@ -53,7 +53,7 @@ if [ $install_chromium -eq 1 ]; then
ynh_script_progression --message="Installing Chromium..." --weight=8
pushd "$install_dir/package"
ynh_exec_as "$app" $ynh_node_load_PATH $ynh_node "./node_modules/puppeteer/install.js"
ynh_exec_as "$app" $ynh_nodejs_dir/node "./node_modules/puppeteer/install.js"
popd
fi

View file

@ -81,7 +81,7 @@ if [ "$install_chromium" -eq 1 ]; then
ynh_secure_remove --file="$install_dir/.cache/puppeteer/chrome"
pushd "$install_dir/package"
ynh_exec_as "$app" $ynh_node_load_PATH $ynh_node "./node_modules/puppeteer/install.js"
ynh_exec_as "$app" $nodejs_dir/node "./node_modules/puppeteer/install.js"
popd
fi