1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/lstu_ynh.git synced 2024-09-03 19:36:12 +02:00

Fix linter warning

This commit is contained in:
ericgaspar 2020-11-26 18:32:46 +01:00
parent 2e7a18fe8e
commit cc05c8f013
No known key found for this signature in database
GPG key ID: 574F281483054D44
4 changed files with 11 additions and 4 deletions

View file

@ -6,7 +6,7 @@ After=network.target
[Service]
Type=forking
User=www-data
User=__APP__
Restart=always
RestartSec=10
WorkingDirectory=__FINALPATH__

View file

@ -165,7 +165,7 @@ ynh_add_systemd_config
ynh_script_progression --message="Securing files and directories..."
# Set permissions to app files
chown -R www-data $final_path
chown -R $app $final_path
#=================================================
# SETUP LOGROTATE

View file

@ -74,7 +74,7 @@ ynh_system_user_create --username=$app
ynh_script_progression --message="Restoring user rights..."
# Restore permissions on app files
chown -R www-data $final_path
chown -R $app: $final_path
#=================================================
# SPECIFIC RESTORATION

View file

@ -218,7 +218,14 @@ ynh_add_systemd_config
ynh_script_progression --message="Securing files and directories..."
# Set permissions on app files
chown -R www-data $final_path
chown -R $app: $final_path
#=================================================
# INTEGRATE SERVICE IN YUNOHOST
#=================================================
ynh_script_progression --message="Integrating service in YunoHost..."
yunohost service add $app --log "/var/log/$app.log" --log "/var/www/$app/log/production.log"
#=================================================
# SETUP SSOWAT