mouse/src

Blob: ports/mouse-echo/rootfs/etc/init.d/mouse_echo

Raw · Blame

#!/sbin/openrc-run

description="MOUSE example ports service"
supervisor=supervise-daemon
command=/usr/libexec/mouse-echo
respawn_delay=0
respawn_max=3
respawn_period=10
retry="TERM/1/KILL/1"

depend() {
	need console_login
}

start_pre() {
	rm -f /run/mouse-echo.term
}