void-packages/srcpkgs/rest-server/files/rest-server/run

5 lines
129 B
Bash

#!/bin/sh
exec 2>&1
. /etc/default/rest-server
exec chpst -u _restserver:_restserver rest-server --path $DATA_DIRECTORY $OPTIONS