just do it

[开机启动]解决insserv: warning: script '服务名' missing LSB tags and overrides

按照LSB tags规范改写脚本如下
其实解决办法就是在#!/bin/bash下面添加:

#!/bin/bash  
### BEGIN INIT INFO
# Provides:          lostphp.com
# Required-Start:    $local_fs $network
# Required-Stop:     $local_fs
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: wsocket service
# Description:       wsocket service daemon
### END INIT INFO 

当然,也可以一劳永逸的:

apt-get remove insserv
点赞