Created
April 14, 2019 17:25
-
-
Save albertus82/3b62434b85b7558b973fc6d1e221948e to your computer and use it in GitHub Desktop.
artemis-init-debian.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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