wget http://developer.axis.com/download/distribution/apps-sys-utils-start-stop-daemon-IR1_9_18-2.tar.gz
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.
#AXIS_USABLE_LIBS = GLIBC UCLIBC
#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
clean:
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.
http://svn.ez.no/svn/extensions/ezfind/ezp4/trunk/extension/ezfind/bin/scripts/gentoo/solr
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.
#AXIS_USABLE_LIBS = GLIBC UCLIBC
#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
clean:
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.
http://svn.ez.no/svn/extensions/ezfind/ezp4/trunk/extension/ezfind/bin/scripts/gentoo/solr