blob: 278d79dddae9ea4542ce580166a1e6fa3a2d94b7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/sbin/openrc-run
name=jellyfin
description="The Free Software Media System"
command=/usr/bin/jellyfin
command_user=jellyfin:jellyfin
command_args="--datadir ${datadir} --cachedir ${cachedir} --logdir ${logdir} ${opts}"
depend() {
use logger dns
need net
after firewall
}
start_pre() {
checkpath -d -o $command_user "$datadir"
checkpath -d -o $command_user "$cachedir"
checkpath -d -o $command_user "$logdir"
}
|