1
0
Fork 0
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:
frju365 2018-06-10 12:28:20 +02:00 committed by GitHub
parent 4f42ef382e
commit 9e35206564
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -188,25 +188,11 @@ touch /var/log/$app/production.log
chown $app:$app /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" ln -s /var/log/$app/production.log "$final_path/log/production.log"
#=================================================
# Configure owner
#=================================================
sudo chown -R www-data: $final_path
#================================================= #=================================================
# Start lstu # Start lstu
#================================================= #=================================================
systemctl daemon-reload
systemctl start lstu.service 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 # Add lstu as a service