cirandas.net

ref: master

debian/noosfero-runner


#!/bin/sh

set -e

environment="$2"
test -z "$environment" && environment=production

su - noosfero -c "rails runner -e $environment '$1'"