mirror of
https://github.com/YunoHost-Apps/lstu_ynh.git
synced 2024-09-03 19:36:12 +02:00
Update install
This commit is contained in:
parent
4f42ef382e
commit
9e35206564
1 changed files with 0 additions and 14 deletions
|
@ -188,25 +188,11 @@ touch /var/log/$app/production.log
|
|||
chown $app:$app /var/log/$app/production.log
|
||||
ln -s /var/log/$app/production.log "$final_path/log/production.log"
|
||||
|
||||
#=================================================
|
||||
# Configure owner
|
||||
#=================================================
|
||||
|
||||
sudo chown -R www-data: $final_path
|
||||
|
||||
#=================================================
|
||||
# Start lstu
|
||||
#=================================================
|
||||
|
||||
systemctl daemon-reload
|
||||
systemctl start lstu.service
|
||||
systemctl enable lstu.service
|
||||
|
||||
#=================================================
|
||||
# Set right permissions on new files created at first start
|
||||
#=================================================
|
||||
|
||||
sudo chown -R www-data: "$final_path"
|
||||
|
||||
#=================================================
|
||||
# Add lstu as a service
|
||||
|
|
Loading…
Add table
Reference in a new issue