Project

General

Profile

Tâche #33866

Scénario #33758: EOLE 2.9 : GenConfig doit être fonctionnel

Intégrer l'évolution du script d'init proposée par Emmanuel

Added by Joël Cuissinat about 1 year ago. Updated about 1 year ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
02/23/2022
Due date:
% Done:

100%

Remaining (hours):
0.0

Description

Dans #33689#note-1 Emmanuel GARETTE a écrit :

Je propose de mettre à jour le fichier systemd comme suit :

> # /lib/systemd/system/eoleflask.service
> [Unit]
> Description=Eole flask server
> After=remote_fs.target syslog.target network.target
> 
> [Service]
> Type=notify
> ExecStart=/usr/bin/gunicorn -c /etc/eole/flask/eoleflask.py "eoleflask.application:run(config='eoleadmin')" 
> KillMode=mixed
> TimeoutStopSec=5
> PrivateTmp=true
> 
> [Install]
> WantedBy=multi-user.target
> 

Dans le fichier /etc/eole/flask/eoleflask.py il faudrait également supprimer la ligne pid_file

Associated revisions

Revision 3eb4cca0 (diff)
Added by Emmanuel GARETTE about 1 year ago

mise à jour du fichier service conformement au précos gunicorn (ref #33866)

History

#1 Updated by Joël Cuissinat about 1 year ago

  • Subject changed from Intégrer l'évolution du script d'init proposé par Emmanuel to Intégrer l'évolution du script d'init proposée par Emmanuel

#2 Updated by Emmanuel GARETTE about 1 year ago

  • Status changed from Nouveau to Résolu
  • Assigned To set to Emmanuel GARETTE
  • % Done changed from 0 to 100

#3 Updated by Joël Cuissinat about 1 year ago

  • Status changed from Résolu to Fermé
  • Remaining (hours) set to 0.0
eole-flask$ git branch -r --contains 3eb4cca0 
  origin/HEAD -> origin/master
  origin/dist/eole/2.9.0/master
  origin/master

Also available in: Atom PDF