David Craven <da...@craven.ch> skribis: >> If spice-vdagend produces a PID file, make sure to use #:pid-file here >> (there are several examples in the tree), which often provides more >> reliable startup notification. > > I'm passing the -x flag which prevents spice-vdagentd from > daemonizing. I thought that make-forkexec-constructor took care of > setting the correct stdout stderr stdin user process-parent and pid > file automatically. Is that not the way it's intended to be used?
It is, but it can also wait until a PID file is created: https://www.gnu.org/software/shepherd/manual/html_node/Service-De_002d-and-Constructors.html HTH! Ludo’.