[arch-general] Anything to manage user daemons?

XeCycle xecycle at gmail.com
Mon Jun 20 03:15:14 EDT 2011


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://mailman.archlinux.org/pipermail/arch-general/attachments/20110620/217de0c7/attachment.asc>


More information about the arch-general mailing list