Blog: 2023-12-27

From razwiki
Revision as of 00:52, 27 December 2023 by Razzi (talk | contribs)
Jump to navigation Jump to search

Ok struggling with basic pid kinda stuff for a `ronin status`

https://serverfault.com/questions/159334/what-permissions-are-needed-to-write-a-pid-file-in-var-run

means I can't do a pid in /var/run I guess, unless I create it during the apt install... I guess...

More discussion of alternate pid file locations: https://superuser.com/questions/454449/linux-alternative-places-where-to-store-pid-file-instead-of-var-run

Maybe I should be using virsh to launch qemu, and that would give me an easy way to manage the status?

Yet more pid discussion https://superuser.com/questions/238412/write-a-pid-file-manually-from-bash-script

I think for now I'm just going to put the pidfile in ~/.ronin, we'll see how far that gets me.