Anything to manage user daemons?

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



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

Attachment: pgpEMetYltFdV.pgp
Description: PGP signature


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux