I need to run some background processes that live as long as I am logged in with a certain user.
Does there exist something like a per-user daemon? I know only of global daemons that live from computer startup 'till shutdown (or manual startup/kill).
for now I made a script that checks if the process already exists and creates the process if it doesn't. This script is then run with the
nohup command from my
.profile. This way the process launches on startup, and is only launched once (even with multiple
rxvt terms coming and going). Yet, it never gets killed after I log (which isn't a disaster but it is cleaner to also terminate the process).