最後更新: 2019-06-13
Add Service
在 /etc/init.d 內有
- postfwd
chkconfig --add postfwd
# Error
service postfwd does not support chkconfig
The top few comments are very important. The script must have 2 lines:
# chkconfig: <levels> <start> <stop> # description: <some description>
P.S.
345 - levels to configure
99 - startup order
01 - stop order