#!/sbin/openrc-run # # !!! This file is managed by Ansible !!! # supervisor=supervise-daemon name="rest-server" description="Rest Server is a high performance HTTP server that implements restic's REST backend API." command="/usr/bin/rest-server" command_args="--append-only --listen 127.0.0.1:{{ services.rest_server.port }} --no-auth --path /var/lib/rest-server --prometheus" command_user="{{ services.rest_server.user }}:{{ services.rest_server.user }}" directory="/var/lib/rest-server" depend() { need net localmount after firewall }