mirror of
https://github.com/YunoHost-Apps/osjs_ynh.git
synced 2024-09-03 19:56:11 +02:00
Update install (#9)
This commit is contained in:
parent
6c6f70f9c3
commit
2bad90ebdd
1 changed files with 5 additions and 3 deletions
|
@ -132,9 +132,10 @@ popd
|
|||
# Configure init script
|
||||
#=================================================
|
||||
|
||||
sudo systemctl daemon-reload
|
||||
sudo systemctl enable "$app".service
|
||||
sudo systemctl start "$app".service
|
||||
systemctl daemon-reload
|
||||
systemctl enable "$app".service
|
||||
systemctl start "$app".service
|
||||
systemctl status $app
|
||||
|
||||
#=================================================
|
||||
# SETUP LOGROTATE
|
||||
|
@ -169,3 +170,4 @@ fi
|
|||
#=================================================
|
||||
|
||||
systemctl reload nginx
|
||||
cat /etc/nginx/conf.d/$domain.conf.d/$app.conf
|
||||
|
|
Loading…
Add table
Reference in a new issue