init does not respawn mgetty

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I created a new file in /etc/event.d in the hope that mgetty would be
started automatically, and respawned when it ends.

Well, it starts fine on system restart, but when mgetty ends, that's
it... no respawn. :-(

This is Fedora 9

I created this ttyS1 file in /etc/event.d, which I modeled after an
existing file (tty1)  :

# ttyS1 - mgetty
#
# This service maintains an mgetty on ttyS1 from the point the system is
# started until it is shut down again.

# DNR 2008-10-29
description "mgetty for Caller ID modem"

start on stopped rc2
start on stopped rc3
start on stopped rc4
start on stopped rc5
start on started prefdm

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

exec /usr/local/sbin/mgetty -n 2 ttyS1
respawn


But, after mgetty answers an incoming call, and ends... it is not
respawned... so a second call is never answered.

Where do I find documentation on the contents of these files in
/etc/event.d or is there a different mechanism I should be using for
such things?

Thanks

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux