void-packages/srcpkgs/PopCorn/files/pqueryd/run
2019-01-28 02:55:23 -02:00

8 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