1
0
Fork 0
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:
frju365 2017-06-29 16:54:57 +02:00 committed by GitHub
parent 8828d7dd17
commit 30ff1dae9e

View file

@ -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
#=================================================