Auto-reload services when changes are detected in configuration files
- nginx - when new conf is added in
/etc/nginx/sites-available/
, runopencli domain-ssl <domain>
,nginx -t
andnginx -s reload
- nginx - when change is detected in
/etc/nginx/sites-available/
, runnginx -t
andnginx -s reload
- named - when change is detected in
/etc/bind/zones/
, runnamed-checkzone
andrndc reload
- systemd - when change is detected in
/etc/systemd/system/
, runsystemctl daemon-reload
- phpmyadmin - when change is detected in
/etc/openpanel/openpanel/core/users/
, runopencli phpmyadmin --enable
- openadmin - when change is detected in
/usr/local/admin/
, runservice admin reload
- watcher - when change is detected in
/usr/local/admin/scripts/watcher/
, runservice watcher restart
bash <(curl -sSL https://raw.githubusercontent.com/stefanpejcic/file-watcher/main/install.sh)
- rm ssl on conf delete
- queue to recheck ssl in bg