mirror of
https://github.com/YunoHost-Apps/lstu_ynh.git
synced 2024-09-03 19:36:12 +02:00
parent
839c811f5d
commit
a0f108a083
3 changed files with 2 additions and 9 deletions
|
@ -4,7 +4,7 @@ Documentation=https://framagit.org/luc/lstu
|
|||
|
||||
[Service]
|
||||
Type=forking
|
||||
User=__APP__
|
||||
User=www-data
|
||||
WorkingDirectory=__FINALPATH__
|
||||
ExecStart=/usr/bin/carton exec script/application minion worker
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ After=network.target
|
|||
|
||||
[Service]
|
||||
Type=forking
|
||||
User=__APP__
|
||||
User=www-data
|
||||
Restart=always
|
||||
RestartSec=10
|
||||
WorkingDirectory=__FINALPATH__
|
||||
|
|
|
@ -202,13 +202,6 @@ 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
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue