Process supervision? What are you trying to use? Runit? You should be able to spawn a process and verify the pid still is online. I personally execute cf-exced -F out of cron hourly so I don¹t have to deal with long running daemons.
On 5/11/12 6:26 PM, "Taj Khattra" <taj.khat...@gmail.com> wrote: >i'm attempting to run cfengine3 under process supervision, so I'd like >the services to run in the foreground (i.e. no fork). >"cf-monitord -F" and "cf-serverd -F" work as expected, but "cf-execd >-F" also implies ONCE=true, so cf-execd exits after one run? > >in cfengine2, I believe it was possible to achieve this by running >cfexecd with the -g flag. >is there any chance of something similar being available for cfengine3? > >btw, "cf-execd -v" runs in the foreground, but at the expense of >verbose logging. >so an ugly workaround is to use -v and redirect stdout to /dev/null, >but i'd prefer not to do that! > >thanks > >-taj >_______________________________________________ >Help-cfengine mailing list >Help-cfengine@cfengine.org >https://cfengine.org/mailman/listinfo/help-cfengine _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine