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 29601254fc79ac3a3e6dd7d1be152460d939cf8a)
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
|
||||
%systemd_post scylla-jmx.service
|
||||
/usr/bin/systemctl daemon-reload ||:
|
||||
|
||||
%preun
|
||||
%systemd_preun scylla-jmx.service
|
||||
|
Loading…
x
Reference in New Issue
Block a user