#!/sbin/openrc-run

description="MOUSE optional C1 proof service"
supervisor=supervise-daemon
command=/bin/sleep
command_args="2147483647"
respawn_delay=1
respawn_max=3
respawn_period=10
retry="TERM/3/KILL/2"

depend() {
	need mouse_ready
}

start_post() {
	checkpath --file /run/mouse-optional.started
}

stop_post() {
	rm -f /run/mouse-optional.started
}
