Package logrotate script

This commit is contained in:
2025-01-15 01:34:04 -05:00
parent ab7381f0ca
commit 0cd1fe0148
6 changed files with 10 additions and 4 deletions

View File

@@ -22,13 +22,14 @@ A bridge to sit between monitoring tools and PostgreSQL
make -C /src install DESTDIR=%{buildroot}
%files
/usr/local/bin/pgmon
/usr/share/man/man1/pgmon.1.gz
/etc/logrotate.d/pgmon
/etc/pgmon/pgmon.yml
/etc/pgmon/pgmon-metrics.yml
/etc/pgmon/pgmon-service.conf
/lib/systemd/system/pgmon.service
/lib/systemd/system/pgmon@.service
/usr/local/bin/pgmon
/usr/share/man/man1/pgmon.1.gz
%post
mkdir -p -m 0755 /var/log/pgmon