Wednesday, August 24, 2011

start-stop-daemon script for Centos 5.!


tar -xvf apps-sys-utils-start-stop-daemon-IR1_9_18-2.tar.gz
cd apps
cd sys-utils/start-stop-daemon-IR1_9_18-2/

cat Makefile
# comment this Two line for centos build.
#include $(AXIS_TOP_DIR)/tools/build/Rules.axis

PROG = start-stop-daemon

all: $(PROG)

install: all
        $(INSTALL) -m 0755 -o root -g root $(PROG) $(prefix)/sbin

        rm -f $(PROG)

-bash-3.2# make
cc     start-stop-daemon.c   -o start-stop-daemon
-bash-3.2# ls
a.out  Makefile  start-stop-daemon  start-stop-daemon.c

* Copy the daemon to bin path:
cp start-stop-daemon /usr/bin/

* How to Use this script Please see.


Renu said...

Good Post! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge as updated one, keep blogging.
Devops Training in electronic city

Anjali Siva said...

Great collection and thanks for sharing this info with us. Waiting for more updates.
DevOps Training in Chennai
DevOps Certification in Chennai
AWS Training in Chennai
AWS course in Chennai
Cloud Computing Training in Chennai
Cloud Computing courses in Chennai
DevOps Training in Velachery
DevOps course in Chennai

Venkatesh Krishna said...

Thanks for the insightful post

SEO Training in Chennai
SEO Training in Chennai
SEO Training in Chennai
SEO Training in Coimbatore

Anonymous said...

This information you provided in the blog that is really unique I love it!!
AWS Training in Delhi

Selvin said...

Good article! It is very inspiring and informative, This article is worth sharing to other people too. We are looking forward to more of this.

Devops training in Marathahalli
Best devops training in Bangalore Marathahalli
Devops training institutes in Marathahalli Bangalore