Rework ActiveMQ

This commit is contained in:
Disassembler 2019-10-03 21:41:02 +02:00
parent 57cd65115d
commit 15e7600ae4
No known key found for this signature in database
GPG Key ID: 524BD33A0EE29499
5 changed files with 2 additions and 21 deletions

View File

@ -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

View File

@ -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

View File

@ -1,11 +0,0 @@
#!/sbin/openrc-run
description="ActiveMQ container"
start() {
lxc-start activemq
}
stop() {
lxc-stop activemq
}

View File

@ -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

View File

@ -1,6 +0,0 @@
#!/bin/sh
set -ev
# Remove service
rm -f /etc/init.d/activemq
rc-update -u