Remove redundant scriptlet commands
This commit is contained in:
parent
5892e54ae9
commit
88a0f4a6f1
@ -204,12 +204,6 @@ exit 0
|
|||||||
|
|
||||||
%post
|
%post
|
||||||
%systemd_post nginx.service
|
%systemd_post nginx.service
|
||||||
if [ $1 -eq 2 ]; then
|
|
||||||
# Make sure these directories are not world readable.
|
|
||||||
chmod 700 %{nginx_home}
|
|
||||||
chmod 700 %{nginx_home_tmp}
|
|
||||||
chmod 700 %{nginx_logdir}
|
|
||||||
fi
|
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
%systemd_preun nginx.service
|
%systemd_preun nginx.service
|
||||||
|
Loading…
Reference in New Issue
Block a user