mirror of
https://github.com/YunoHost-Apps/osjs_ynh.git
synced 2024-09-03 19:56:11 +02:00
Update install
This commit is contained in:
parent
8828d7dd17
commit
30ff1dae9e
1 changed files with 8 additions and 0 deletions
|
@ -132,6 +132,14 @@ sudo_path npm install --production >> $install_log 2>&1
|
|||
sudo_path node osjs build
|
||||
popd
|
||||
sudo yunohost firewall allow Both $port
|
||||
|
||||
#=================================================
|
||||
# Configure init script
|
||||
#=================================================
|
||||
|
||||
sudo cp ../conf/"$app".service /etc/systemd/system/
|
||||
sudo systemctl daemon-reload
|
||||
sudo systemctl enable "$app".service
|
||||
sudo systemctl start "$app".service
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue