Fix systemd macro spelling errors
This commit is contained in:
parent
1d63e04d14
commit
1628cd12f0
@ -2,7 +2,7 @@
|
||||
%define debug_package %{nil}
|
||||
Name: blackbox_exporter
|
||||
Version: 0.19.0
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: Prometheus blackbox prober exporter
|
||||
License: Apache-2.0
|
||||
Url: https://github.com/prometheus/blackbox_exporter
|
||||
@ -29,10 +29,10 @@ install -m0644 blackbox.yml %{buildroot}%{_sysconfdir}/prometheus/blackbox.yml
|
||||
install -m0644 %{SOURCE1} %{buildroot}%{_unitdir}/%{name}.service
|
||||
|
||||
%post
|
||||
%system_post %{name}.service
|
||||
%systemd_post %{name}.service
|
||||
|
||||
%postun
|
||||
%system_preun %{name}.service
|
||||
%preun
|
||||
%systemd_preun %{name}.service
|
||||
|
||||
%files
|
||||
%doc LICENSE README.md CONFIGURATION.md example.yml
|
||||
@ -41,5 +41,8 @@ install -m0644 %{SOURCE1} %{buildroot}%{_unitdir}/%{name}.service
|
||||
%config(noreplace) %{_sysconfdir}/prometheus/blackbox.yml
|
||||
|
||||
%changelog
|
||||
* Thu Aug 10 2021 huanghaitao <huanghaitao8@huawei.com> - 0.19.0-2
|
||||
- Fix systemd macro spelling errors.
|
||||
|
||||
* Thu Aug 5 2021 huanghaitao <huanghaitao8@huawei.com> - 0.19.0-1
|
||||
- package init
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user