Restart service xinit.d or init.d ?

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Restart service xinit.d or init.d ?
# 1  
Old 06-08-2016
Restart service xinit.d or init.d ?

Hello
How do I restart init.d ?? (centos 6.5)
Thanks
# 2  
Old 06-08-2016
Actually, you don't. init.d is (or used to be) a directory with boot or configuration scripts to be run at boot time or to restart/stop the respective daemons or services.
init is THE core process that runs the entire system - don't even think about tinkering with it!

What be the reason for your question? Please explain what you want to do.
This User Gave Thanks to RudiC For This Post:
# 3  
Old 06-08-2016
thanks for replay
i read in a article . that existence under /etc/xinit.d (super server)
In that article was written . when than init enter memory . it was read inittab .then management services to leave the /etc/xinit.d

When this file restarts its services under review and make the changes the
wrote
file initd.d such as file xinitd.d stay The difference is that all services within the file is written and read line by line and then apply the changes
how was /etc/initd.d lunched ?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. SuSE

Service restart daily

Hi, Beside using crontab, what is other application we can set it? Normally I check using command crontab -l. Any other path I need to check? Please guide me. Thanks. (2 Replies)
Discussion started by: mzainal
2 Replies

2. Ubuntu

/etc/init.d/networking restart is deprecated?

After I set IP , I want to make it work, so I ran "/etc/init.d/networking restart" but it says it's deprecated: Running /etc/init.d/networking restart is deprecated because it may not enable again some interfaces So I want to know how to make my setup work correctly. Thanks in... (1 Reply)
Discussion started by: cqlouis
1 Replies

3. Shell Programming and Scripting

Need to Restart Service with Password

Hi All, Requirement : I need to check for some services in my environment and restart the service if its not running. I have written script to check the script if its running or not. While if its not running i need to restart it using ./start command. But it will ask for password prompt and i... (4 Replies)
Discussion started by: pradeepbaliga
4 Replies

4. UNIX for Advanced & Expert Users

/etc/init.d/exim4 restart

I have restarted the exim4 process. It prints the following things. $ /etc/init.d/exim4 restart * Stopping MTA for restart /usr/sbin/update-exim4.conf: non-ascii value sugumar_imp.tar write.sql virtualbox-3.1_3.1.8-61349~debian~lenny_i386.deb etc... ...done. * Restarting MTA ... (1 Reply)
Discussion started by: ungalnanban
1 Replies

5. Red Hat

The difference between init.d and xinit.d dir ...

What's the difference between the two. I've seen xinit.d directory not always but on some systems. (1 Reply)
Discussion started by: Praveen_218
1 Replies

6. HP-UX

Script to auto restart a service

Hi All, May i please know if it is possible to write a script to check the log messages and automatically restart a service if it is failed or it is stopped. Appreciate your suggestions. Thanks in advance. regards, Eajaz (2 Replies)
Discussion started by: ajazshariff
2 Replies

7. Shell Programming and Scripting

Restart a Service!!

Hello, I am trying to write a script which will monitor few processes(winbind) for cpu utilization, If the process consumes more than say 99% cpu for 3 minutes, I want to run a script to restart the service which forks the process. ---------- Post updated at 11:21 AM ---------- Previous update... (5 Replies)
Discussion started by: linuxaddict7
5 Replies

8. UNIX for Dummies Questions & Answers

Service Restart Netbackup

For vertitas netbackup 6.0 I have media server :Solaris Client server: Windows I want to restart the netbackup service on the media server . plz suggest ASAP. (1 Reply)
Discussion started by: saurabh84g
1 Replies

9. Shell Programming and Scripting

error in init script of dnotify service

fallowing code is for init script for dnotify service # !/bin/bash # DESCRIPTION #Process name-dnotify # Dnotify startup script:- # Init/rc scripts are bash scripts used to manage services like dnotify. # Dnotify (directory notification) is a utility for monitoring filesystem... (0 Replies)
Discussion started by: pankajd
0 Replies

10. UNIX for Advanced & Expert Users

creating a service in init.d

Hai Friends I have written a DayTime server program using C socket.. I need to start the service automatically. My service directory is /etc/rc.d/init.d... my service name is DayTime present in /home/codebase/datetime/ directory.. Please help me :confused: :confused: :confused: Thanks in... (2 Replies)
Discussion started by: collins
2 Replies
Login or Register to Ask a Question