在RedHat EL 6上,可以在命令行上启动和停止许多服务:
service some_service start
和
service some_service stop
我已经在RPM中打包了一个Node.JS服务器应用程序。我如何注册我的应用程序service
,以方便start
和stop
?
在RedHat EL 6上,可以在命令行上启动和停止许多服务:
service some_service start
和
service some_service stop
我已经在RPM中打包了一个Node.JS服务器应用程序。我如何注册我的应用程序service
,以方便start
和stop
?
Answers: