Skip to content

Instantly share code, notes, and snippets.

@albertus82
Created April 14, 2019 17:25
Show Gist options
  • Save albertus82/3b62434b85b7558b973fc6d1e221948e to your computer and use it in GitHub Desktop.
Save albertus82/3b62434b85b7558b973fc6d1e221948e to your computer and use it in GitHub Desktop.
artemis-init-debian.sh
#!/bin/sh
### BEGIN INIT INFO
# Provides: artemis
# Required-Start: $remote_fs $network $syslog
# Required-Stop: $remote_fs $network $syslog
# Default-Start: 3 5
# Default-Stop: 0 1 6
# Short-Description: Starts ActiveMQ Artemis
# Description: Starts ActiveMQ Artemis Message Broker Server
### END INIT INFO
. /etc/default/artemis
. "$ARTEMIS_INSTANCE/bin/artemis-service" "$0"
ARTEMIS_USER="artemis"
ARTEMIS_INSTANCE="/opt/artemis-broker"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment