void-packages/srcpkgs/PopCorn/files/pqueryd/run

9 lines
186 B
Bash

#!/bin/sh
[ -r ./conf ] && . ./conf
: ${PORT=8002}
: ${DATA_DIR=/srv/www/popcorn}
exec chpst -u _popcorn:_popcorn pqueryd --checkpoint_enabled=false --port $PORT --data_dir $DATA_DIR