ctucx.git: ansible-configs

My personal ansible roles and playbooks [deprecated in favor of nixos]

1 
2 
3 
4 
5 
6 
7 
8 
9 
10 
11 
12 
13 
14 
15 
16 
17 
18 
19 
20 
#!/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
}