#! /bin/sh
### BEGIN INIT INFO
# Provides: Home Assistant
# Required-Start: $local_fs $remote_fs
# Required-Stop:
# Default-Start: 2 3 4 5
# Default-Stop:
# Short-Description: Provide Home control automatic
# Description: Provide Home control automatic
### END INIT INFO
N=/etc/init.d/hass
set -e
case "$1" in
start) hass --daemon
;;
stop|reload|restart|force-reload|status)
;;
*)
echo "Usage: $N {start|stop|restart|force-reload|status}" >&2
exit 1
;;
esac
exit 0