Adding a service to start at booting on fedora

chkconfig --list

lists all the services starting at booting with different levels



to add a service to start at booting


chkconfig --add [service_name]

ex:

chkconfig -add sshd



to add different levels(0,1,2,3,4,5,6)



chkconfig --level [levels] [service_name] [service_option>]


level: the runlevel where this service has to start (if there are more than one level enter different level without any seperator)

service options : on|off|reset|resetpriorities


ex:

chkconfig --level 2 sshd on

chkconfig --level 235 sshd on

so to add sshd to start up at booting in 235 levels

chkconfig --add sshd
chkconfig --level 235 sshd on

Comments

Popular posts from this blog

Error processing request - Contact your application administrator apex 20.1

APP-FND-01436: List of Values cannot find any values for you to choose error from concurrent request program parameter (R12 12.1.3)

WEB ADI - issues encountered during initial access