Projet

Général

Profil

Development #63866

démarrer un service par /etc/init.d/service c'est nul

Ajouté par Frédéric Péters il y a environ 2 ans. Mis à jour il y a plus d'un an.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Version cible:
-
Début:
12 avril 2022
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Oui
Planning:
Non

Description

Vu en bord de diff,

    /etc/init.d/postgresql start

il faudrait plutôt service postgresql start soit systemctl start postgresql.

Ailleurs il y a aussi /etc/init.d/supervisor et /etc/init.d/nginx et pareil.

(dans l'absolu tout le monde tourne en systemd et le côté nul du leak de l'environnement on ne l'a pas, mais autant faire propre).


Fichiers

Révisions associées

Révision 9daba2fc (diff)
Ajouté par Emmanuel Cazenave il y a plus d'un an

use service instead of /etc/init.d (#63866)

Historique

#1

Mis à jour par Emmanuel Cazenave il y a plus d'un an

Frédéric Péters a écrit :

/etc/init.d/postgresql start

Celui-ci échoue sur :

+ systemctl start postgresql
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down

Idem pour supervisor/nginx.

#2

Mis à jour par Frédéric Péters il y a plus d'un an

Je proposais aussi service postgresql start qui devrait faire le taf correctement dans les deux situations.

#3

Mis à jour par Emmanuel Cazenave il y a plus d'un an

#4

Mis à jour par Serghei Mihai il y a plus d'un an

  • Statut changé de Solution proposée à Solution validée
#5

Mis à jour par Emmanuel Cazenave il y a plus d'un an

  • Statut changé de Solution validée à Solution déployée
commit 9daba2fc63f0c8dd693e1d294bebc51382007ec9
Author: Emmanuel Cazenave <ecazenave@entrouvert.com>
Date:   Mon Jan 2 17:21:41 2023 +0100

    use service instead of /etc/init.d (#63866)
#6

Mis à jour par Transition automatique il y a environ un an

Automatic expiration

Formats disponibles : Atom PDF