mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-04-15 17:12:36 +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:
parent
6945d54cab
commit
bb5fcb6400
@ -17835,3 +17835,6 @@
|
|||||||
850x600.
|
850x600.
|
||||||
2018-10-18 Fred Gleason <fredg@paravelsystems.com>
|
2018-10-18 Fred Gleason <fredg@paravelsystems.com>
|
||||||
* Fixed a regression in rdmaint(8) that broke cut rehashing.
|
* 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
|
fi
|
||||||
@LOCAL_PREFIX@/sbin/rddbmgr --modify
|
@LOCAL_PREFIX@/sbin/rddbmgr --modify
|
||||||
/bin/systemctl restart rivendell
|
/bin/systemctl restart rivendell
|
||||||
|
/bin/systemctl enable rivendell
|
||||||
if test "@DISTRO@" = "suse" ; then
|
if test "@DISTRO@" = "suse" ; then
|
||||||
/etc/init.d/apache2 restart
|
/etc/init.d/apache2 restart
|
||||||
insserv -d -f /etc/init.d/apache2 /etc/init.d/rivendell $MYSQL_INIT
|
insserv -d -f /etc/init.d/apache2 /etc/init.d/rivendell $MYSQL_INIT
|
||||||
@ -205,6 +206,7 @@ if test "$1" = "0" ; then
|
|||||||
fi
|
fi
|
||||||
if test "@DISTRO@" = "redhat" ; then
|
if test "@DISTRO@" = "redhat" ; then
|
||||||
/bin/systemctl disable rivendell
|
/bin/systemctl disable rivendell
|
||||||
|
/bin/systemctl stop rivendell
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
exit 0
|
exit 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user