mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-26 04:35:39 +03:00
19 lines
331 B
Text
19 lines
331 B
Text
#!/sbin/openrc-run
|
|
|
|
description="Isochronous Round-Trip Tester"
|
|
name=irtt
|
|
command=/usr/bin/irtt
|
|
command_user=irtt:irtt
|
|
command_background=yes
|
|
pidfile=/run/irtt/irtt.pid
|
|
command_args="server --syslog=local:"
|
|
|
|
depend() {
|
|
need net
|
|
use logger
|
|
after firewall
|
|
}
|
|
|
|
start_pre() {
|
|
checkpath --directory --mode 0775 $(dirname $pidfile)
|
|
}
|