Service squid does not support chkconfig

Problem: Service Squid does not support chkconfig

Insert picture description here

Reason: usually the first two lines of the script written, there is a problem

#!/bin/bash
#chkconfig:234590 25    #这里有错误  这里表示在哪些运行级别启动,启动序号(S61);关闭序号(K61);

After modification

Insert picture description here
Insert picture description here

Guess you like

Origin blog.csdn.net/IvyXYW/article/details/113941117