pmgconfig --restart 1 outdated?

Sep 17, 2020
316
21
38
Hello,

I was making a modification to my main.cf.in file and then ran:
pmgconfig --restart 1

Now I may have had that wrong from way back, but got this error:
ERROR: unknown command 'pmgconfig --restart' USAGE: pmgconfig <COMMAND> [ARGS] [OPTIONS] pmgconfig acme account deactivate [<name>] [OPTIONS] pmgconfig acme account info [<name>] [FORMAT_OPTIONS] pmgconfig acme account list pmgconfig acme account update [<name>] [OPTIONS] pmgconfig acme account register [<name>] {<contact>} [OPTIONS] pmgconfig acme cert order <type> [OPTIONS] pmgconfig acme cert renew <type> [OPTIONS] pmgconfig acme cert revoke <type> pmgconfig acme plugin add <type> <id> [OPTIONS] pmgconfig acme plugin config <id> [FORMAT_OPTIONS] pmgconfig acme plugin list [OPTIONS] [FORMAT_OPTIONS] pmgconfig acme plugin remove <id> pmgconfig acme plugin set <id> [OPTIONS] pmgconfig cert delete <type> [<restart>] pmgconfig cert info [FORMAT_OPTIONS] pmgconfig cert set <type> <certificates> <key> [OPTIONS] [FORMAT_OPTIONS] pmgconfig dkim_record pmgconfig dkim_set --keysize <integer> --selector <string> [OPTIONS] pmgconfig apicert [OPTIONS] pmgconfig dump pmgconfig init pmgconfig ldapsync pmgconfig sync [OPTIONS] pmgconfig tlscert [OPTIONS] pmgconfig help [<extra-args>] [OPTIONS]

I couldn't find the proper command to initiate the reload/restart.
Any assistance aprpeciated!
 
Now I may have had that wrong from way back, but got this error:
the command you're probably looking for:
`pmgconfig sync -restart 1`

see also the man-page (`man pmgconfig`)

I hope this helps!
 
I was trying to search the documentation for main.cf.in and something else, which was not the best way to search.

Thank you for your help, that was it, and I will add it to my internal notes!