[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Como se cual gestor de servicios esta trabajando sysvinit o Systemd



muchas gracias a todos por la ayuda

con los amigos de esdebian termine de aclarar la duda, aqui les dejo la solucion que encontr

/Panko/ escribió:
Y si aún así no está claro, esto que me he encontrado por ahí puede ayudar:
|if [[ `/sbin/init --version` =~ upstart ]]; then echo using upstart;
elif [[ `systemctl` =~ -\.mount ]]; then echo using systemd;
elif [[ -f /etc/init.d/cron && ! -h /etc/init.d/cron ]]; then echo using sysv-init;
else echo cannot tell; fi|


saludos


Reply to: