Professional Documents
Culture Documents
according to http://wiki.debian.org/LSBInitScripts/DependencyBasedBoot
instead of
update-rc.d noip2 defaults
then
sudo insserv noip2
(with out the INIT INFO, the error "insserv: warning: script 'X' missing LSB tags and
overrides" will be shown.)
#! /bin/sh
# /etc/init.d/noip2.sh
# Supplied by no-ip.com
# Modified for Debian GNU/Linux by Eivind L. Rygge
# corrected 1-17-2004 by Alex Docauer
DAEMON=/usr/local/bin/noip2
NAME=noip2
case "$1" in
start)
echo -n "Starting dynamic address update: "
start-stop-daemon --start --exec $DAEMON
echo "noip2."
;;
stop)
echo -n "Shutting down dynamic address update:"
start-stop-daemon --stop --oknodo --retry 30 --exec $DAEMON
echo "noip2."
;;
restart)
echo -n "Restarting dynamic address update: "
start-stop-daemon --stop --oknodo --retry 30 --exec $DAEMON
start-stop-daemon --start --exec $DAEMON
echo "noip2."
;;
status)
echo "noip2."
;;
*)
echo "Usage: $0 {start|stop|restart}"
exit 1
esac
exit 0
The first line changes the permissions to -rwxr-xr-x, and the second line ensures that the
owner and group owner of the file is root.
Once this is done, I assume you will need to use sudo /etc/init.d/celeryd start to start
the daemon.
Once you have installed that, you can set it to start automatically on boot with: