Project

General

Profile

Anomalie #2557

Pouvoir relancer facilement un service en console

Added by Emmanuel GARETTE almost 12 years ago. Updated almost 12 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Category:
-
Start date:
12/06/2011
Due date:
% Done:

100%

Spent time:
Distribution:
EOLE 2.3

Description

Il faudrait pouvoir relancer facilement un service en console sans a utiliser la fonction Service de FonctionsEoleNg.

Il faut pouvoir relancer un service sans connaître le conteneur.


Related issues

Related to Documentations - Evolution #2444: CreoleCat n'est pas assez mis en valeur dans Commun 2.3 Fermé 11/22/2011

Associated revisions

Revision 7663a05b (diff)
Added by Emmanuel GARETTE almost 12 years ago

Ajout de la fonction services_code CreoleService (ref #2557)

  • pyeole/service.py : services_code() permet de lancer un service sans connaitre le ou les conteneurs. S'il y a plusieurs conteneur, une boucle relance le service dans l'ensemble des conteneurs corresponds
    service() suppression de la fonction qui n'est pas censé fonctionner (boucle sur le tupple et non sur cmds)
    _init_service() permet de recharger le fichier /etc/eole/init_service.conf et retourne les informations pour le service

Revision d8af7556 (diff)
Added by Emmanuel GARETTE almost 12 years ago

Ajout de la commande CreoleService (fixes #2557)

  • creole/cfgparser.py : ajoute le nom des conteneurs pour les services dans /etc/eole/init_service.conf
  • bin/CreoleService : création du script de lancement des services
  • eole/FonctionsEoleNg : utilisation de CreoleService dans la fonction Service

Revision b01cb444 (diff)
Added by Johan Cwiklinski about 6 years ago

Make sure we have a userid updating ticket date mod; fixes #2557

History

#1 Updated by Emmanuel GARETTE almost 12 years ago

  • Project changed from creole to python-pyeole

#2 Updated by Emmanuel GARETTE almost 12 years ago

  • Project changed from python-pyeole to creole

#3 Updated by Emmanuel GARETTE almost 12 years ago

  • Status changed from Nouveau to Résolu
  • % Done changed from 0 to 100

#4 Updated by Joël Cuissinat almost 12 years ago

  • Assigned To set to Emmanuel GARETTE
  • Target version set to Mises à jour 2.3 - 03 RC

#5 Updated by Joël Cuissinat almost 12 years ago

  • Status changed from Résolu to Fermé

Il trouve tout seul le bon conteneur !

root@amon-conteneur:~# locate /etc/init.d/bind9
/opt/lxc/internet/rootfs/etc/init.d/bind9
root@amon-conteneur:~# CreoleService bind9 restart
 * Stopping domain name service... bind9  [ OK ]
 * Starting domain name service... bind9  [ OK ]

Also available in: Atom PDF