dist/redhat: call systemctl --daemon-reload when upgraded (#92)
Since %systemd_post does not call systemctl --daemon-reload, we need to call it
manually to apply changes.
Fixes #90
(cherry picked from commit 29601254fc
)
This commit is contained in:
parent
0a404662d6
commit
05d437893e
1
dist/redhat/scylla-jmx.spec.mustache
vendored
1
dist/redhat/scylla-jmx.spec.mustache
vendored
@ -41,6 +41,7 @@ fi
|
|||||||
|
|
||||||
%post
|
%post
|
||||||
%systemd_post scylla-jmx.service
|
%systemd_post scylla-jmx.service
|
||||||
|
/usr/bin/systemctl daemon-reload ||:
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
%systemd_preun scylla-jmx.service
|
%systemd_preun scylla-jmx.service
|
||||||
|
Loading…
Reference in New Issue
Block a user