Re: runlevel priority: mysql vs. apache
On 2006-07-10 Tollef Fog Heen wrote:
> | Hello Tollef & co
> | > > reassign -1 mysql-server
> | > Bug#377651: stop initscript has wrong priority
> | > Bug reassigned from package `apache2' to `mysql-server'.
> | It's ok for me to move mysql behind apache2 but I notice that apache2 has
> | a stop priority of 91, which is quite high (the other daemons use the
> | default of 20). Was there a reason for this? Will it stay there so that
> | I can use e.g. 92?
> It'll move to something lower, like 20, yes.
> As for why it's 91 at the moment, see update-rc.d(8), particularly,
> the «stop» bit of it.
Ah, Sid's manpage slightly differs from Sarge' ones. But makes sense.
So as you plan to go to 20 we will have the following?
19 start mysql
20 start apache/apache2
80 stop apache/apache2
81 stop mysql