Outils pour utilisateurs

Outils du site


informatique:linux:update-rc.d

Ceci est une ancienne révision du document !


update-rc.d

Pour lister le lancement de mysql :

ls -l /etc/rc*.d/*mysql

Exemple :

lrwxrwxrwx 1 root root 15  7 mars  17:46 /etc/rc0.d/K02mysql -> ../init.d/mysql
lrwxrwxrwx 1 root root 15  7 mars  17:46 /etc/rc1.d/K02mysql -> ../init.d/mysql
lrwxrwxrwx 1 root root 15  7 mars  17:46 /etc/rc2.d/S18mysql -> ../init.d/mysql
lrwxrwxrwx 1 root root 15  7 mars  17:46 /etc/rc3.d/S18mysql -> ../init.d/mysql
lrwxrwxrwx 1 root root 15  7 mars  17:46 /etc/rc4.d/S18mysql -> ../init.d/mysql
lrwxrwxrwx 1 root root 15  7 mars  17:46 /etc/rc5.d/S18mysql -> ../init.d/mysql
lrwxrwxrwx 1 root root 15  7 mars  17:46 /etc/rc6.d/K02mysql -> ../init.d/mysql

Désactiver mysql au démarrage :

update-rc.d mysql remove

Pour réactiver mysql au démarrage :

update-rc.d mysql defaults
informatique/linux/update-rc.d.1362724090.txt.gz · Dernière modification: 2018/09/06 18:59 (modification externe)