# comet-license-sync.service -- run by comet-license-sync.path (CPANEL-56598) # # Registers the Comet Backup plugin with AppConfig when a Comet license # appears and unregisters it when the license goes away. Idempotent and fast, # so running it on every change of a watched license file is safe. [Unit] Description=cPanel Comet Backup: sync WHM plugin registration with the Comet license # Load-bearing: with the default start limit (5 starts in 10s) a burst of # license-file changes trips start-limit-hit, and the PATH unit then fails # with unit-start-limit-hit and stops watching until someone restarts it. # Storms are bounded by the path unit's own trigger limit instead. StartLimitIntervalSec=0 [Service] Type=oneshot ExecStart=/usr/local/cpanel/scripts/comet_license_registration_sync