forked from pool/dehydrated
Accepting request 987893 from security:dehydrated
- Target should not PartOf on itself. - Copy the changes entry into README.postrun-hooks to make it easier for users to find the information how to restore the postrun-hooks after the split. OBS-URL: https://build.opensuse.org/request/show/987893 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dehydrated?expand=0&rev=23
This commit is contained in:
commit
6d97e756ac
7
README.postrun-hooks
Normal file
7
README.postrun-hooks
Normal file
@ -0,0 +1,7 @@
|
||||
Rework support for /etc/dehydrated/postrun-hooks.d/:
|
||||
dehydrated.service nolonger starts them directly, the support was
|
||||
moved to a separate unit file. Please run:
|
||||
|
||||
systemctl enable dehydrated-postrun-hooks.service
|
||||
|
||||
to restore this functionality
|
@ -1,3 +1,15 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 8 11:38:36 UTC 2022 - Marcus Rueckert <mrueckert@suse.de>
|
||||
|
||||
- Target should not PartOf on itself.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 8 11:24:13 UTC 2022 - Marcus Rueckert <mrueckert@suse.de>
|
||||
|
||||
- Copy the changes entry into README.postrun-hooks to make it
|
||||
easier for users to find the information how to restore the
|
||||
postrun-hooks after the split.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 30 14:20:42 UTC 2021 - Marcus Rueckert <mrueckert@suse.de>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package dehydrated
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -76,6 +76,7 @@ Source16: dehydrated@.timer
|
||||
Source17: dehydrated.target
|
||||
Source18: dehydrated-postrun-hooks.service
|
||||
Source19: dehydrated-postrun-hooks@.service
|
||||
Source20: README.postrun-hooks
|
||||
Patch: more-examples.patch
|
||||
BuildRequires: %{_apache}
|
||||
Requires: coreutils
|
||||
@ -174,6 +175,7 @@ if [ -e %{_sysconfdir}/dehydrated/config.sh ]; then mv %{_sysconfdir}/dehydrated
|
||||
%patch -p1
|
||||
cp %{SOURCE9} .
|
||||
cp %{SOURCE10} .
|
||||
cp %{SOURCE20} .
|
||||
|
||||
%build
|
||||
|
||||
@ -275,6 +277,7 @@ diff -urN docs/examples/config %{buildroot}%{_home}/config ||:
|
||||
%if %{defined redhat}
|
||||
%doc README.Fedora
|
||||
%endif
|
||||
%doc README.postrun-hooks
|
||||
%if %{with systemd}
|
||||
%{_tmpfilesdir}/%{name}.conf
|
||||
%{_unitdir}/dehydrated*.service
|
||||
|
@ -1,4 +1,2 @@
|
||||
[Unit]
|
||||
Description=Target to allow restarting and stopping of all parts of dehydrated
|
||||
PartOf=dehydrated.target
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user