(1)vi /opt/activemq/bin/activemq
#!/bin/sh
### BEGIN INIT INFO
# Provides:             activemq
# Required-Start:       $remote_fs $syslog
# Required-Stop:        $remote_fs $syslog
# Default-Start:        2 3 4 5
# Default-Stop:         0 6
# Short-Description:    ActiveMQ server
### END INIT INFO

(2)# ln -s /opt/activemq/bin/activemq /etc/init.d/
(3)vi /etc/rc.local
(4)添加bash /etc/init.d/activemq start

相关文章:

  • 2022-12-23
  • 2021-11-20
  • 2021-08-27
  • 2021-11-20
  • 2021-10-26
  • 2021-11-29
  • 2018-04-25
  • 2021-12-09
猜你喜欢
  • 2021-12-25
  • 2021-06-22
  • 2022-12-23
  • 2022-12-23
  • 2021-07-16
  • 2022-02-21
  • 2021-07-23
相关资源
相似解决方案