1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-16 20:55:20 +03:00
aports/testing/rustdesk-server/hbbs.initd
2022-07-19 18:30:51 +00:00

18 lines
322 B
Bash
Executable file

#!/sbin/openrc-run
name=hbbs
description="Rust-desk server hbbs daemon"
command="/usr/bin/hbbs"
command_background=true
: ${directory:=/var/lib/rustdesk-server}
: ${command_user:=rustdesk:rustdesk}
: ${umask:=0022}
depend() {
need net hbbr
after firewall
}
start_pre() {
checkpath -d -o $command_user "$directory"
}