Well, seems that upstart is not only culprit here.

start on runlevel 2
start on runlevel 3
start on runlevel 4
start on runlevel 5

stop on runlevel 0                                                              
stop on runlevel 1                                                              
stop on runlevel 6

respawn
exec /bin/su root -c '/usr/bin/socat TCP4-LISTEN:9100,su=nobody,fork 
TCP4:192.168.11.4:9100,bind=192.168.11.19'

works.

Anything I have tried using /usr/bin/ssh as the exec param fails or does
not behave as expected (as it used to be with /etc/inittab)

with "ssh -f -N ...", it kind of starts, but it ends up with 'respawning
too fast',  even though the connection is established and status
service_name reports  "(stop) waiting"

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

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

Reply via email to