Rework ActiveMQ
This commit is contained in:
parent
57cd65115d
commit
15e7600ae4
@ -23,7 +23,7 @@ mkdir -p /srv/ecogis/ecogis_conf /srv/ecogis/ecogis_data
|
|||||||
envsubst <ecogis_conf/config.php >/srv/ecogis/conf/config.php
|
envsubst <ecogis_conf/config.php >/srv/ecogis/conf/config.php
|
||||||
chown -R 108020:108020 /srv/ecogis/ecogis_conf /srv/ecogis/ecogis_data
|
chown -R 108020:108020 /srv/ecogis/ecogis_conf /srv/ecogis/ecogis_data
|
||||||
|
|
||||||
# Stop services required for build
|
# Stop services required for setup
|
||||||
service ecogis-postgres stop
|
service ecogis-postgres stop
|
||||||
|
|
||||||
# Register application
|
# Register application
|
||||||
|
@ -31,7 +31,7 @@ envsubst <adminpwd.sql | lxc-attach -u 5432 -g 5432 kanboard-postgres -- psql ka
|
|||||||
# Install config update script
|
# Install config update script
|
||||||
cp update-conf.sh /srv/kanboard/update-conf.sh
|
cp update-conf.sh /srv/kanboard/update-conf.sh
|
||||||
|
|
||||||
# Stop services required for build
|
# Stop services required for setup
|
||||||
service kanboard-postgres stop
|
service kanboard-postgres stop
|
||||||
|
|
||||||
# Register application
|
# Register application
|
||||||
|
@ -1,11 +0,0 @@
|
|||||||
#!/sbin/openrc-run
|
|
||||||
|
|
||||||
description="ActiveMQ container"
|
|
||||||
|
|
||||||
start() {
|
|
||||||
lxc-start activemq
|
|
||||||
}
|
|
||||||
|
|
||||||
stop() {
|
|
||||||
lxc-stop activemq
|
|
||||||
}
|
|
@ -20,7 +20,5 @@ EOF
|
|||||||
|
|
||||||
COPY lxc
|
COPY lxc
|
||||||
|
|
||||||
MOUNT DIR /srv/activemq/data srv/activemq/data
|
|
||||||
|
|
||||||
USER 61616 61616
|
USER 61616 61616
|
||||||
CMD /srv/activemq/bin/activemq console
|
CMD /srv/activemq/bin/activemq console
|
||||||
|
@ -1,6 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
set -ev
|
|
||||||
|
|
||||||
# Remove service
|
|
||||||
rm -f /etc/init.d/activemq
|
|
||||||
rc-update -u
|
|
Loading…
Reference in New Issue
Block a user