Created attachment 185532 [details] Patch to bareos-dir RC script to implement a graceful reload Using the stop/start cycle to deploy a new Bareos configuration (for us it is via Puppet) is quite intrusive in that all currently running jobs are tossed on the floor when you restart bareos-dir. (That includes jobs that are past their scheduled start time but haven't yet started executing.) Through bconsole you can do a 'reload' which is exactly what we need, a graceful loading of a new configuration. Following the pattern from the apache24 RC script I did a configtest target along with the reload target. Attached is the patch to the RC script for bareos-dir.
Any chance of getting some traction on this?
A commit references this bug: Author: acm Date: Tue Nov 20 21:49:19 UTC 2018 New revision: 485488 URL: https://svnweb.freebsd.org/changeset/ports/485488 Log: - Update to 17.2.7 - Add bareos-dir reload into rc script - Fix default configuration path - Some another modifications PR: 231551 221593 230123 Submitted by: rand __at__ iteris.com, hsn __at__ sendmail.cz Changes: head/sysutils/bareos-client/Makefile head/sysutils/bareos-client-static/Makefile head/sysutils/bareos-docs/distinfo head/sysutils/bareos-server/Makefile head/sysutils/bareos-server/distinfo head/sysutils/bareos-server/files/bareos-dir.in head/sysutils/bareos-server/files/bareos-fd.in head/sysutils/bareos-server/files/bareos-sd.in head/sysutils/bareos-traymonitor/Makefile