diff --git a/templates/rpm/slapos.spec.end.in b/templates/rpm/slapos.spec.end.in index 274d897bf0304897b799b04c6871a4974d137dcb..b85aa5ef281dc51b3d9d581f77114ac61d98a71c 100644 --- a/templates/rpm/slapos.spec.end.in +++ b/templates/rpm/slapos.spec.end.in @@ -3,12 +3,10 @@ if [ -f /bin/systemctl ]; then systemctl enable slapos-node.service systemctl start slapos-node.service fi - %preun if [ -f /bin/systemctl ]; then systemctl stop slapos-node.service fi - %postun if [ -f /bin/systemctl ]; then systemctl restart slapos-node.service