Make systemd user configurable and create log directory

This commit is contained in:
2025-01-11 01:18:03 -05:00
parent 2c87a41048
commit 7b58b4a3ed
6 changed files with 20 additions and 4 deletions

View File

@@ -26,9 +26,14 @@ make -C /src install DESTDIR=%{buildroot}
/usr/share/man/man1/pgmon.1.gz
/etc/pgmon/pgmon.yml
/etc/pgmon/pgmon-metrics.yml
/etc/pgmon/pgmon-service.conf
/lib/systemd/system/pgmon.service
/lib/systemd/system/pgmon@.service
%post
mkdir -p -m 0755 /var/log/pgmon
chown root:root /var/log/pgmon
%changelog
* Wed Jan 08 2025 James Campbell <james@commandprompt.com> - 1.0-1
- Initial RPM release.