Commit 1696d11f authored by Manfred Kutas's avatar Manfred Kutas

ZP-1162 nginx config package for rhel/centos/suse/fedora.

Released under the Affero GNU General Public License (AGPL) version 3.
parent cef37723
...@@ -416,7 +416,7 @@ cp man/*.1 "$b/%_mandir/man1" ...@@ -416,7 +416,7 @@ cp man/*.1 "$b/%_mandir/man1"
%endif %endif
%post -n %name-config-nginx %post -n %name-config-nginx
ln -s "$b/%_sysconfdir/nginx/sites-available/z-push.conf" "$b/%_sysconfdir/nginx/sites-enabled/" ln -s "%_sysconfdir/nginx/sites-available/z-push.conf" "%_sysconfdir/nginx/sites-enabled/"
service nginx reload service nginx reload
%postun -n %name-config-apache %postun -n %name-config-apache
...@@ -434,7 +434,7 @@ service nginx reload ...@@ -434,7 +434,7 @@ service nginx reload
%endif %endif
%postun -n %name-config-nginx %postun -n %name-config-nginx
rm -f "$b/%_sysconfdir/nginx/sites-available/z-push.conf" "$b/%_sysconfdir/nginx/sites-enabled/" rm -f "%_sysconfdir/nginx/sites-available/z-push.conf" "%_sysconfdir/nginx/sites-enabled/"
service nginx reload service nginx reload
# COMMON # COMMON
......
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