• Xavier Thompson's avatar
    stack/erp5: Fix mariadb exporter.exclude · 4b095148
    Xavier Thompson authored
    Instead of excluding only the contents of the datadir, like thus:
    ```
    <path-to-mariadb-instance>/srv/mariadb/**
    ```
    
    this commit now excludes the data directory itself, like thus:
    ```
    <path-to-mariadb-instance>/srv/mariadb
    ```
    
    This is important because the mariadb server service script will only
    initialise the datadir if it doesn't exist, not if it is merely empty.
    Therefore without this mariadb crashes in clone instances.
    4b095148
instance-mariadb.cfg.in 14.7 KB