一段时间以来,我一直在Ubuntu发行版和非发行版上管理服务器的安装-我已经/etc/init.d/
为重新启动服务进行了调整。现在我收到此消息:
root@tatooine:~# /etc/init.d/mysql status
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service mysql status
Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the status(8) utility, e.g. status mysql
mysql start/running, process 14048
这似乎是在Ubuntu的最新LTS中带来的-为什么?有什么不好的?和/etc/init.d/
之间有什么区别?service
/etc/init.d/
3
该新贵食谱包含了合理的切换一个很好的解释。
—
ændrük