mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-15 12:15:22 +03:00
20 lines
367 B
Bash
20 lines
367 B
Bash
#!/sbin/openrc-run
|
|
supervisor=supervise-daemon
|
|
|
|
name="Piping Server"
|
|
description="Infinitely transfer data between devices over HTTP"
|
|
|
|
command="/usr/bin/piping-server"
|
|
command_user="nobody:nobody"
|
|
directory="/var/empty"
|
|
|
|
: ${error_log:="/var/log/piping-server.log"}
|
|
|
|
depend() {
|
|
need net
|
|
after firewall
|
|
}
|
|
|
|
start_pre() {
|
|
checkpath -f -o $command_user "$error_log"
|
|
}
|