mirror of
https://github.com/YunoHost-Apps/cac-proxy_ynh.git
synced 2024-09-03 18:16:07 +02:00
Merge ef8f210f8c
into 76a628b7f8
This commit is contained in:
commit
0ac85381d9
3 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue