[devel] repocop and lsb init headers

Serhii Hlodin =?iso-8859-1?q?hlodin_=CE=C1_altlinux=2Eru?=
Ср Апр 2 17:52:14 MSD 2008


середа, 02-кві-2008, Eugene Prokopiev написав:
> callweaver-1.2-alt0.svn4580.x86_64	init-lsb	info	/etc/rc.d/init.d/callweave
>r: lsb init header missing.;
> ...
>
> Так что, все дружно добавлем lsb init headers так как описано здесь -
> http://wiki.debian.org/LSBInitScripts? Есть уже добавившие? ;)

А если быть точнее, то так, как описано:

http://refspecs.linux-foundation.org/LSB_3.2.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html
http://refspecs.linux-foundation.org/LSB_3.2.0/LSB-Core-generic/LSB-Core-generic/initscrcomconv.html
http://refspecs.linux-foundation.org/LSB_3.2.0/LSB-Core-generic/LSB-Core-generic/runlevels.html

Я к тому, что у нас почему-то некоторые сетевые сервисы могут запускаються на 
2-м уровне (сходу сразу обнаружил sshd), и вместо:

start, stop, reload, restart, condstop, condrestart, condreload, status

пора потихоньку переходить на:

start	start the service
stop	stop the service
restart	stop and restart the service if the service is already running, 
otherwise start the service
try-restart	restart the service if the service is already running
reload	cause the configuration of the service to be reloaded without actually 
stopping and restarting the service
force-reload	cause the configuration to be reloaded if the service supports 
this, otherwise restart the service if it is running
status	print the current status of the service

-- 
С уважением,
               С.В. Глодин




Подробная информация о списке рассылки Devel