Projet

Général

Profil

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

Ajouté par Joël Cuissinat il y a environ 2 ans. Mis à jour il y a environ 2 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Début:
23/02/2022
Echéance:
% réalisé:

100%

Restant à faire (heures):
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

Révisions associées

Révision 3eb4cca0 (diff)
Ajouté par Emmanuel GARETTE il y a environ 2 ans

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

Historique

#1 Mis à jour par Joël Cuissinat il y a environ 2 ans

  • Sujet changé de Intégrer l'évolution du script d'init proposé par Emmanuel à Intégrer l'évolution du script d'init proposée par Emmanuel

#2 Mis à jour par Emmanuel GARETTE il y a environ 2 ans

  • Statut changé de Nouveau à Résolu
  • Assigné à mis à Emmanuel GARETTE
  • % réalisé changé de 0 à 100

#3 Mis à jour par Joël Cuissinat il y a environ 2 ans

  • Statut changé de Résolu à Fermé
  • Restant à faire (heures) mis à 0.0
eole-flask$ git branch -r --contains 3eb4cca0 
  origin/HEAD -> origin/master
  origin/dist/eole/2.9.0/master
  origin/master

Formats disponibles : Atom PDF