[clug] init.d for chroot

jm jeffm at ghostgun.com
Wed Jul 12 05:09:55 UTC 2017


In this case I found that supervisord can be shutdown via "supervisorctl
shutdown", so

  chroot /chrootpath /usr/bin/supervisorctl shutdown


In general, I'd still like to know if I wasn't dealing with a process
with a shutdown command how I could have recorded the pid to kill it later.

Jeff.

On 12/07/2017 14:44, jm via linux wrote:
> Does anyone have any experience with scripts like this or thoughts on
> how to do this? I'm currently think about putting a wrapper around
> supervisor that runs in the chroot env to record the pid in the chroot env.
>
> Jeff.
>
>
>




More information about the linux mailing list