v.1.1.4
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
Name: md-renewed
|
||||
Version: 1.0.1
|
||||
Version: 1.1.4
|
||||
Release: 1%{?dist}
|
||||
Summary: Restart service on Apache module mod_md certificate renewal
|
||||
License: MIT
|
||||
@@ -12,10 +12,11 @@ Source1: md-message
|
||||
Source2: md-renewed.path
|
||||
Source3: md-renewed.service
|
||||
Source4: md-renewed-tmpfiles.conf
|
||||
Source5: md-renewed.conf
|
||||
Source6: example.service
|
||||
Source7: example.cert
|
||||
Source8: example.sh
|
||||
Source5: md-renewed-httpd.conf
|
||||
Source6: md-renewed.conf
|
||||
Source7: example.service
|
||||
Source8: example.cert
|
||||
Source9: example.sh
|
||||
|
||||
Requires: httpd
|
||||
Requires: mod_md
|
||||
@@ -40,26 +41,29 @@ install -d -m 0755 %{buildroot}%{_tmpfilesdir}
|
||||
install -m 0644 %{SOURCE4} %{buildroot}%{_tmpfilesdir}/md-renewed.conf
|
||||
|
||||
install -d -m 0755 %{buildroot}%{_sysconfdir}/httpd/conf.d
|
||||
install -m 0644 %{SOURCE5} %{buildroot}%{_sysconfdir}/httpd/conf.d/
|
||||
|
||||
install -m 0644 %{SOURCE5} %{buildroot}%{_sysconfdir}/httpd/conf.d/md-renewed.conf
|
||||
|
||||
install -d -m 0755 %{buildroot}%{_sysconfdir}/md-renewed
|
||||
install -m 0644 %{SOURCE6} %{buildroot}%{_sysconfdir}/md-renewed/
|
||||
|
||||
install -d -m 0755 %{buildroot}%{_sysconfdir}/md-renewed/example.com
|
||||
install -m 0644 %{SOURCE6} %{buildroot}%{_sysconfdir}/md-renewed/example.com/
|
||||
install -m 0644 %{SOURCE7} %{buildroot}%{_sysconfdir}/md-renewed/example.com/
|
||||
install -m 0755 %{SOURCE8} %{buildroot}%{_sysconfdir}/md-renewed/example.com/
|
||||
install -m 0644 %{SOURCE8} %{buildroot}%{_sysconfdir}/md-renewed/example.com/
|
||||
install -m 0755 %{SOURCE9} %{buildroot}%{_sysconfdir}/md-renewed/example.com/
|
||||
|
||||
%post
|
||||
%systemd_post md-renewed.service
|
||||
%systemd_post md-renewed.path
|
||||
|
||||
%tmpfiles_create %{_tmpfilesdir}/md-renewed.conf
|
||||
|
||||
%preun
|
||||
%systemd_preun md-renewed.service
|
||||
|
||||
%systemd_preun md-renewed.path
|
||||
|
||||
%postun
|
||||
%systemd_postun md-renewed.service
|
||||
%systemd_postun md-renewed.path
|
||||
|
||||
%clean
|
||||
%{__rm} -rf %{buildroot}
|
||||
@@ -68,7 +72,7 @@ install -m 0755 %{SOURCE8} %{buildroot}%{_sysconfdir}/md-renewed/example.com/
|
||||
%defattr(-,root,root,-)
|
||||
|
||||
%dir %{_sysconfdir}/md-renewed
|
||||
%config %{_sysconfdir}/md-renewed/*
|
||||
%config(noreplace) %{_sysconfdir}/md-renewed/*
|
||||
%config %{_sysconfdir}/httpd/conf.d/md-renewed.conf
|
||||
|
||||
%{_libexecdir}/md-renewed/md-renewed
|
||||
|
||||
Reference in New Issue
Block a user