I am trying to control my openpkg services (with cfengine) and just noticed
that the rc script does not return an error code when the action fails - it
just prints a warning. What's up with that? I want to know if my start
fails, or get an error when status finds the service is not running. Adding
"exit $rc" to the end of rc fixes the problem.

Also, just noticed that openpkg runs postgres as the user openpkg-r. Do
(most) all services run as openpkg-r? Is there an option to set a unique
user for each service somehow? Otherwise I worry that I will be leaking
privileges by using this shared account.

Martin

----
Martin Andrews
[EMAIL PROTECTED] 
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      [EMAIL PROTECTED]

Reply via email to