My initial take on the above (to be used instead of /etc/init.d/maradns
and /etc/rc* stuff). Warning: not yet tested, I can't reboot machine
just now.

======================[ /etc/init/maradns.conf ]==================

# MaraDNS DNS server service

description     "MaraDNS"
author          "Whoever <a...@b.com>"

start on (net-device-up
          and local-filesystems
          and runlevel [2345])
stop on runlevel [016]

respawn

exec /usr/sbin/maradns -f /etc/maradns/mararc


======================


For completeness, similar file for zoneserver could be created, identical but 
with 

  exec /usr/sbin/zoneserver -f /etc/maradns/mararc

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/370932

Title:
  maradns init script silently fails during the boot, but works when run
  manually

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to