pmgconfig --restart 1 outdated?

Sep 17, 2020
315
20
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!
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!