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

Small fixes

This commit is contained in:
ericgaspar 2020-11-16 17:00:53 +01:00
parent 1968148c9c
commit c4f93c1b2f
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 8 additions and 1 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

@ -202,6 +202,13 @@ ynh_script_progression --message="Upgrading logrotate configuration..."
# Use logrotate to manage app-specific logfile(s)
ynh_use_logrotate --non-append
#=================================================
# 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 SYSTEMD
#=================================================