Commit 28132d50 authored by Vitaly Lipatov's avatar Vitaly Lipatov

eterban.spec: add post/preun service section

parent 29cd8b15
......@@ -88,6 +88,12 @@ install -m 644 prod-server/etc/fail2ban/action.d/* %buildroot/etc/fail2ban/actio
cp -a prod-server/usr/share/%name/* %buildroot%_datadir/%name/
%post gateway
%post_service %name
%preun gateway
%preun_service %name
%files common
%config(noreplace) /etc/%name/settings.ini
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment