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="oeffi-web"
description="fast and simple tripplanner for the web"
PORT=5000
CACHE_PATH=/var/lib/oeffisearch
export PORT
export CACHE_PATH
command="/usr/bin/oeffi-web"
command_user=oeffisearch:oeffisearch
directory="/usr/share/oeffi-web"
depend() {
need net localmount
after firewall
}