1
0
mirror of https://github.com/ElvishArtisan/rivendell.git synced 2025-04-14 08:39:31 +02:00

2018-10-19 Fred Gleason <fredg@paravelsystems.com>

* Added code in the %post and %preun rules in 'rivendell.spec.in'
	to enable and disable the 'rivendell' service.
This commit is contained in:
Fred Gleason 2018-10-19 12:12:10 -04:00
parent 6945d54cab
commit bb5fcb6400
2 changed files with 5 additions and 0 deletions

@ -17835,3 +17835,6 @@
850x600.
2018-10-18 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in rdmaint(8) that broke cut rehashing.
2018-10-19 Fred Gleason <fredg@paravelsystems.com>
* Added code in the %post and %preun rules in 'rivendell.spec.in'
to enable and disable the 'rivendell' service.

@ -177,6 +177,7 @@ if test ! -e /etc/asound.conf ; then
fi
@LOCAL_PREFIX@/sbin/rddbmgr --modify
/bin/systemctl restart rivendell
/bin/systemctl enable rivendell
if test "@DISTRO@" = "suse" ; then
/etc/init.d/apache2 restart
insserv -d -f /etc/init.d/apache2 /etc/init.d/rivendell $MYSQL_INIT
@ -205,6 +206,7 @@ if test "$1" = "0" ; then
fi
if test "@DISTRO@" = "redhat" ; then
/bin/systemctl disable rivendell
/bin/systemctl stop rivendell
fi
fi
exit 0