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:
parent
3a882f7e24
commit
d6d0fea70d
2 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@ After=network.target
|
||||||
Type=simple
|
Type=simple
|
||||||
User=__APP__
|
User=__APP__
|
||||||
Group=__APP__
|
Group=__APP__
|
||||||
WorkingDirectory=__INSTALL_DIR__/apps/www/
|
WorkingDirectory=__INSTALL_DIR__/sources/apps/www/
|
||||||
Environment="NODE_ENV=production"
|
Environment="NODE_ENV=production"
|
||||||
Environment="__YNH_NODE_LOAD_PATH__"
|
Environment="__YNH_NODE_LOAD_PATH__"
|
||||||
ExecStart=yarn start --port=__PORT__
|
ExecStart=yarn start --port=__PORT__
|
||||||
|
|
|
@ -38,7 +38,7 @@ chown -R "$app:www-data" "$install_dir"
|
||||||
# BUILD YARN DEPENDENCIES
|
# BUILD YARN DEPENDENCIES
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
pushd "$install_dir"
|
pushd "$install_dir/sources"
|
||||||
ynh_use_nodejs
|
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 cache clean
|
||||||
ynh_exec_warn_less ynh_exec_as "$app" env "$ynh_node_load_PATH" yarn install --network-timeout 1000000000
|
ynh_exec_warn_less ynh_exec_as "$app" env "$ynh_node_load_PATH" yarn install --network-timeout 1000000000
|
||||||
|
|
Loading…
Add table
Reference in a new issue