[cups] How do I add a Managing Operation Policies with out a restart of the cupsd

Sean Greenslade sean at seangreenslade.com
Thu Jan 14 12:13:39 PST 2016


On Thu, Jan 14, 2016 at 11:32:46AM +0000, Pförtsch, Franz wrote:
> Hello,
> 
> is there  a way to add a "Managing Operation Policies" to the cups config without a restart of the cupsd?
> 
> Today I build up a "big" printserver with apporx 2100 printqueues.
> 
> When I add a policy via the webgui and hit on the "save changes" button the cupsd restart.
> The restart of the hole cupsd take ~ 6minutes. This is not possible in my production environment.
> 
> Is there a way to add such a policy without a restart?

I believe (though I haven't confirmed) that sending a SIGHUP to the
running cupsd should reload the configs.

However, I wonder if this is perhaps not the issue you should be
worrying about. If your environment can't withstand 6 minutes of
downtime, I wonder how good your failover plan is for if/when this
2100-printer server decides to go belly-up. Also, if this is a
production environment, don't you have maintenence windows? Planned
downtime for upgrades? Etc.?

--Sean



More information about the cups mailing list