Results 1 to 5 of 5
Hello,
I setup a memcached and want to run this file " /etc/init.d/memcached " when the server boots. I do not know where to add this in order to run ...
- 08-25-2010 #1Just Joined!
- Join Date
- Aug 2010
- Posts
- 5
Adding scripts to server startup
Hello,
I setup a memcached and want to run this file " /etc/init.d/memcached " when the server boots. I do not know where to add this in order to run at start-up(in which file). Can any one help me in solving this.
Thank you
Satheesh
- 08-25-2010 #2Code:
chkconfig --list |grep memcache chkconfig memcached on
You must always face the curtain with a bow.
- 08-25-2010 #3Just Joined!
- Join Date
- Aug 2010
- Posts
- 5
Adding scripts to server startup
Actually, i want to automatically run the command that is saved in that file " /etc/init.d/memcached " at startup.
- 08-25-2010 #4
?
Open the file with a texteditor and look for the "start" section.
But why would you want that other than educational purpose?
Starting manually:
Starting at boot time:Code:/etc/init.d/memcached start
Code:chkconfig memcached on
You must always face the curtain with a bow.
- 08-27-2010 #5Just Joined!
- Join Date
- Aug 2010
- Posts
- 5
ok...
its not about memcached, i only mentioned it as an example. if we want to play a sound file or video file automatically when we login
I which file we should have to add the entry
for eg to play a video we use "mplayer filename" this command. i want to know how can we run this command automatically when we login.


Reply With Quote