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

Revert "Fix"

This reverts commit 839c811f5d.
This commit is contained in:
ericgaspar 2020-11-16 18:38:41 +01:00
parent 839c811f5d
commit a0f108a083
No known key found for this signature in database
GPG key ID: 574F281483054D44
3 changed files with 2 additions and 9 deletions

View file

@ -4,7 +4,7 @@ Documentation=https://framagit.org/luc/lstu
[Service] [Service]
Type=forking Type=forking
User=__APP__ User=www-data
WorkingDirectory=__FINALPATH__ WorkingDirectory=__FINALPATH__
ExecStart=/usr/bin/carton exec script/application minion worker ExecStart=/usr/bin/carton exec script/application minion worker

View file

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

View file

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