Linux Startup

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

 




I have a program I want started at system startup time, and also monitored so if it dies it will be restarted.
I see two options but problems with both:


1) Put it into /etc/inittab

     This would work, EXCEPT I need to do some stuff first.  I need to do a cd, and add some stuff to the
      PATH and LD_LIBRARY_PATH.  And I can't do (as far as I can tell, as I tried):

        x:respawn:cd /root/inittab; LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$PWD";./Vms

      I think you have to run from root



2) Put into /etc/rc*.d

     Then I could do all the path setup, etc, but how do I get it to respawn if it somehow dies?


-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[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