#!/sbin/openrc-run
command=/home/juju/docspace/docspace
command_args="-d /var/lib/docspace/test.db -f /var/lib/docspace/docs"
command_background=true
command_user=docspace
pidfile=/var/run/docspace.pid
name="docspace daemon"
#output_log=/var/log/docspace/log
error_log=/var/log/docspace/log
export SESSION_KEY="$(/home/juju/docspace/keygen.sh)"

description="docspace is a space for {up,down}loading documents"

depend() {
	need net
}
