1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/tldraw_ynh.git synced 2024-09-03 20:35:54 +02:00

fix path to sources

This commit is contained in:
Salamandar 2024-07-11 21:54:22 +02:00
parent 3a882f7e24
commit d6d0fea70d
2 changed files with 2 additions and 2 deletions

View file

@ -6,7 +6,7 @@ After=network.target
Type=simple
User=__APP__
Group=__APP__
WorkingDirectory=__INSTALL_DIR__/apps/www/
WorkingDirectory=__INSTALL_DIR__/sources/apps/www/
Environment="NODE_ENV=production"
Environment="__YNH_NODE_LOAD_PATH__"
ExecStart=yarn start --port=__PORT__

View file

@ -38,7 +38,7 @@ chown -R "$app:www-data" "$install_dir"
# BUILD YARN DEPENDENCIES
#=================================================
pushd "$install_dir"
pushd "$install_dir/sources"
ynh_use_nodejs
ynh_exec_warn_less ynh_exec_as "$app" env "$ynh_node_load_PATH" yarn cache clean
ynh_exec_warn_less ynh_exec_as "$app" env "$ynh_node_load_PATH" yarn install --network-timeout 1000000000