Hacker News new | past | comments | ask | show | jobs | submit login

As a daemontools fan, I'm frustrated that something in the daemontools family never became popular (process supervision, be it daemontools, upstart, systemd, etc. makes managing services so much nicer). But I do recognize the utility of using cgroups as part of this. Is there, or could there be, a "do one thing" utility that can launch a process in its own cgroup, such that it would fit in nicely in a daemontools-style run script?

There indeed could be. (-:

Hey, presto!

    jdebp % cat /var/sv/epmd/service/run
    #Run file generated from services/epmd.service
    #Erlang Port Mapper service
    move-to-control-group epmd.service
    setuidgid rabbitmq
    jdebp %

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact