summarylogtreecommitdiffstats
path: root/webthings-gateway.install
blob: a7263b12bb7602acc664f7a38b500977550ec017 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
post_install() {
  echo ""
  echo "You can start the WebThings Gateway as follows:"
  echo "  systemctl start webthings-gateway"

  echo ""
  echo "By default, the gateway listens on port 8080, so you should navigate"
  echo "to http://localhost:8080 in your browser."

  if ! systemctl -q is-active avahi-daemon; then
    echo ""
    echo "You should probably also install avahi and enable the avahi-daemon"
    echo "service, as well as mDNS hostname resolution. See:"
    echo "https://wiki.archlinux.org/index.php/Avahi"
  fi
}

# vim:set ts=2 sw=2 et ft=sh: