1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/sbin/openrc-run
supervisor=supervise-daemon
name="oeffisearch"
description="fast and simple tripplanner for the web"
PORT=8081
CACHE_PATH=/var/lib/oeffisearch
export PORT
export CACHE_PATH
command="/usr/bin/oeffisearch"
command_user=oeffisearch:oeffisearch
directory="/var/lib/$RC_SVCNAME"
depend() {
need net localmount
after firewall
}