void-packages/srcpkgs/taskd/files/taskd/run

7 lines
157 B
Bash

#!/bin/sh
[ -r conf ] && . ./conf
: ${TASKDDATA:=/var/lib/taskd}
: ${TASKDUSER:=taskd}
exec 2>&1
exec chpst -u ${TASKDUSER} taskd server --data ${TASKDDATA}