Try these guys supervisord daemontools :-) On Mon, Jun 20, 2011 at 2:15 PM, XeCycle <xecycle@gmail.com> wrote:
Hello. I need to start several programs after login and after startx. Now I write these directly in my .bash_profile and .xinitrc; but I'm not satisfied with this. They cannot be easily stopped after logout. To do that I think I'd record their PID and kill them in .bash_logout, also need to take care when they're manually stopped, and all these related problems.
So I think a set of scripts like the daemon managing from initscripts will be nice. But I can't write /etc/rc.d daemons, as they must be executed by a normal user.
Has anyone written such a tool?
Thank you.
-- Carl Lei (XeCycle) Department of Physics, Shanghai Jiao Tong University OpenPGP public key: 7795E591 Fingerprint: 1FB6 7F1F D45D F681 C845 27F7 8D71 8EC4 7795 E591 Facebook: Carl Lei Twitter: XeCycle Blog: http://xecycle.blogspot.com Mon, 20 Jun 2011 15:04:17 +0800
-- Nguyễn Châu An || An NGUYEN Linux Technician & FOSS Advocate ------- OpenPGP KeyID 2048R/8F77A48C Key Fingerprint 7652 B403 749F F173 227D 4865 FB71 EC95 8F77 A48C