Fixes to init.d script and .spec

git.mgm/mediaproxy-ng/github/master^2
Peter Dunkley 12 years ago
parent f16afa8c3e
commit 3468c170a7

@ -2,7 +2,7 @@
#
# mediaproxy-ng Startup script for NGCP mediaproxy-ng
#
# chkconfig: - 345 84 16
# chkconfig: 345 84 16
# description: NGCP mediaproxy-ng
#
# processname: mediaproxy-ng

@ -113,9 +113,8 @@ rm -rf %{buildroot}
2> /dev/null || :
#%post
#/sbin/chkconfig --add mediaproxy-ng
#
%post
/sbin/chkconfig --add mediaproxy-ng
%post dkms
@ -126,9 +125,9 @@ dkms install -m %{name} -v %{version}-%{release} --rpm_safe_upgrade --force
true
#%preun
#/sbin/service mediaproxy-ng stop
#/sbin/chkconfig --del mediaproxy-ng
%preun
/sbin/service mediaproxy-ng stop
/sbin/chkconfig --del mediaproxy-ng
%preun dkms

Loading…
Cancel
Save