You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@allura.apache.org by Dave Brondsema <da...@brondsema.net> on 2015/04/18 20:41:15 UTC
[allura:tickets] Ticket 7273 discussion
- **labels**: asf --> asf, sf-current, sf-2
- **status**: open --> closed
- **Comment**:
This is kind of ugly, but it works and is good enough for now until we get docker-ized and use that.
Added to `/etc/default/apache2` and the `start` portion of `/etc/init.d/reactor`:
mkdir -p /var/run/allura
chgrp allura /var/run/allura
chmod g+w /var/run/allura
And the following into `/etc/init.d/reactor` after the `if [ -n "$1" ]; then` block.
# hack to run solr too
if ! pgrep -fl java.*start.jar; then
echo "no solr running yet, starting it"
pushd /var/local/solr-4.2.1/example
nohup java -jar start.jar >> /var/local/log/solr.log &
popd
fi
And ran:
update-rc.d reactor defaults
---
** [tickets:#7273] ensure /var/run/allura is created on allura-vm.a.o**
**Status:** closed
**Milestone:** unreleased
**Labels:** asf sf-current sf-2
**Created:** Fri Mar 14, 2014 03:44 AM UTC by Dave Brondsema
**Last Updated:** Mon Mar 30, 2015 02:01 PM UTC
**Owner:** nobody
After a reboot /var/run/allura wasn't there, which is needed by mod_wsgi and reactor/taskd scripts. I manually did:
~~~~
root@allura-vm:/var/run# mkdir allura
root@allura-vm:/var/run# chgrp allura allura
root@allura-vm:/var/run# chmod g+w allura
~~~~
And then work with INFRA to get this into the puppet config for this host. (Probably some other things we should get in there too)
---
Sent from forge-allura.apache.org because dev@allura.apache.org is subscribed to https://forge-allura.apache.org/p/allura/tickets/
To unsubscribe from further messages, a project admin can change settings at https://forge-allura.apache.org/p/allura/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.