1. Tu regardes ton runlevel courant (si tu ne l'as pas changé entre temps il correspond alors à celui par défaut)
[root@durandal ~]# runlevel
N 5
[root@durandal ~]#
ou ton runlevel par défaut :
[root@durandal ~]# cat /etc/inittab | grep id:
id:5:initdefault:
[root@durandal ~]#
Ici c'est le runlevel 5
2. Tu regardes pour quel runlevel il est activé
[root@durandal ~]# chkconfig postfix --list
postfix 0:arrêt 1:arrêt 2:marche 3:marche 4:marche 5:marche 6:arrêt
[root@durandal ~]#
3. En faisant la correspondance, tu verras 🙂
4. Activer au démarrage
Pour ton runlevel courant
[root@durandal ~]# chkconfig postfix on
Pour un runlevel choisi (runlevel 3 dans mon exemple)
[root@durandal ~]# chkconfig postfix on --level 3