Jak sprawdzić czy deamon / usługa uruchomi się na starcie?

Można to wykonać poleceniem:
service –status-all | grep nazwausługi

Można także wylistować wszystkie usługi:
service –status-all

[ + ] acpid
[ + ] anacron
[ ? ] aoetools
[ + ] apache2
[ – ] apparmor
[ ? ] apport
[ + ] avahi-daemon
[ + ] bind9
[ + ] bluetooth
[ – ] brltty
[ + ] clamav-freshclam
[ – ] cobbler
[ ? ] console-setup
[ ? ] cpufrequtils
[ + ] cron
[ + ] cups
[ + ] cups-browsed
[ – ] cyrus-imapd
[ – ] dbus
[ ? ] dns-clean
[ + ] drbl-clients-nat
[ ? ] ejabberd
[ – ] etc-setserial
[ – ] exim4
[ – ] fail2ban
[ – ] fancontrol
[ ? ] firewall
[ ? ] firewall~
[ + ] friendly-recovery
[ – ] grub-common
[ + ] hostapd
[ – ] i8kmon
[ ? ] irqbalance
[ + ] isc-dhcp-server
[ + ] kerneloops
[ ? ] killprocs
[ ? ] kmod
[ ? ] lightdm
[ ? ] lirc
[ – ] lm-sensors
[ ? ] loadcpufreq
[ ? ] mysql
[ ? ] networking
[ + ] nfs-kernel-server
[ + ] nmbd
[ ? ] noip2
[ + ] ntp
[ ? ] ondemand
[ + ] opendkim
[ + ] pcscd
[ – ] postfix
[ ? ] pppd-dns
[ + ] procps
[ + ] proftpd
[ + ] pulseaudio
[ ? ] rc.local
[ + ] rpcbind
[ – ] rsync
[ + ] rsyslog
[ + ] samba
[ + ] samba-ad-dc
[ + ] saned
[ – ] saslauthd
[ ? ] scanbuttond
[ ? ] scanbuttond.bak.org
[ ? ] sendsigs
[ + ] setserial
[ – ] slapd
[ + ] smbd
[ – ] snort
[ – ] spamassassin
[ ? ] speech-dispatcher
[ + ] ssh
[ – ] sudo
[ + ] tftpd-hpa
[ + ] udev
[ ? ] umountfs
[ ? ] umountnfs.sh
[ ? ] umountroot
[ – ] unattended-upgrades
[ – ] urandom
[ ? ] vblade
[ + ] virtualbox
[ – ] winbind
[ – ] x11-common
[ + ] xinetd
[ + ] xrdp

W zależności od tego czy mamy + ,czy – dana usługa startuje lub nie.

W przypadku znaku zapytania (?) status usługi nie jest znany.

Dodaj komentarz

Twój adres email nie zostanie opublikowany. Pola, których wypełnienie jest wymagane, są oznaczone symbolem *