#!/usr/bin/env /lib/runit/invoke-run
set -e

NAME="seatd"
DAEMON=/usr/sbin/seatd

# Exit service if DAEMON is not installed
if [ ! -x $DAEMON ]; then
	exit 161
fi

# Load defaults
[ -f /etc/default/seatd ] && . /etc/default/seatd

exec 2>&1

exec $DAEMON ${DAEMON_ARGS}
