Christophe, of course I removed all links from rc* before I wrote my
/etc/init/xebec-proftpd.conf. I know how to stop the process. The
problem is not in starting it (as it starts just fine with either of
your scripts) and stopping it at reboot (as it is killed naturally) or
by kill. The problem is in writing correct upstart init script for it,
so that upstart was aware of its PID, could monitor its status and stop
it when I call "stop xebec-proftpd". I tried all possible permutations
of using/not using start-stop-daemon, starting proftpd in
daemon/nodaemon modes, specifying "expect fork", "expect daemon" and not
specifying. I even tried using nondocumented pid directive in upstart
script - all to no luck. In all cases either proftpd refuses to start on
my boot events but starts/stops manually, or upstart starts it
successfully but loses its PID.

I know your scripts starts proftpd for you just fine, but go ahead and
check its status or try to stop it correctly - you will fail.

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

Title:
  Ubuntu natty Proftpd start fails at boot time when using
  MasqueradeAddress and Network-manager

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/proftpd/+bug/868885/+subscriptions

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

Reply via email to