mirror of
https://github.com/YunoHost-Apps/distbin_ynh.git
synced 2024-09-03 18:26:10 +02:00
Fix service
This commit is contained in:
parent
637a477982
commit
ff6fe00f88
1 changed files with 3 additions and 2 deletions
|
@ -181,6 +181,9 @@ npm install typescript@>=2.0 --save
|
|||
npm install ts-node
|
||||
popd
|
||||
|
||||
cp ../conf/package.json "$final_path/package.json"
|
||||
ynh_replace_string "__PORT__" "$port" "$final_path/package.json"
|
||||
|
||||
#npm audit fix
|
||||
#npm install -g npm-install-peers
|
||||
#npm-install-peers
|
||||
|
@ -244,8 +247,6 @@ ynh_add_systemd_config
|
|||
|
||||
### `ynh_replace_string` is used to replace a string in a file.
|
||||
### (It's compatible with sed regular expressions syntax)
|
||||
cp ../conf/package.json "$final_path/package.json"
|
||||
ynh_replace_string "__PORT__" "$port" "$final_path/package.json"
|
||||
|
||||
#=================================================
|
||||
# STORE THE CONFIG FILE CHECKSUM
|
||||
|
|
Loading…
Reference in a new issue