Warning default start runlevel arguments do not match Default-Start values
I tried to add Fuseki as a service to the correct runlevels using update-rc.d
. I used sudo update-rc.d fuseki defaults
and I think is okay now, but I got this warnings:
update-rc.d: warning: default start runlevel arguments (2 3 4 5) do not match fuseki Default-Start values (3 4 5)
update-rc.d: warning:
default stop runlevel arguments (0 1 6) do not match fuseki Default-Stop values (0 1 2 6)
Adding system startup for /etc/init.d/fuseki ...
/etc/rc0.d/K20fuseki -> ../init.d/fuseki
/etc/rc1.d/K20fuseki -> ../init.d/fuseki
/etc/rc6.d/K20fuseki -> ../init.d/fuseki
/etc/rc2.d/S20fuseki -> ../init.d/fuseki
/etc/rc3.d/S20fuseki -> ../init.d/fuseki
/etc/rc4.d/S20fuseki -> ../init.d/fuseki
/etc/rc5.d/S20fuseki -> ../init.d/fuseki
What exactly does this warning mean?
Solution 1:
From the manual update-rc.d:
If defaults is used then update-rc.d will make links to start the
service in runlevels 2345 and to stop the service in runlevels 016.
It seems that, instead, the runlevels defined in /etc/init.d/fuseki are: start runlevel 3,4 and 5 as stop 0,1 and 6. This is not the default and the program alerts you that.