Restart weston service if crashes, specify resolution in config

- Performance at resolutions above 1080p is very poor, so set resolution
to 1080p by default. The preferred resolution of a monitor can still be
used by removing the resolution line. If 1080p is not supported, weston
appears to take the preferred resolution the monitor advertises.
- Set the weston systemd service to restart automatically

Change-Id: Ic3cddb68547b6b9806731429bfe626483266b15f
diff --git a/debian/changelog b/debian/changelog
index 9b80852..2663b73 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+weston-imx (3.0.0-1) unstable; urgency=medium
+
+  * Update service file to run as non-root user
+  * Add weston.ini and some minimal configuration
+
+ -- AIY Projects <support-aiyprojects@google.com>  Wed, 14 Nov 2018 14:36:52 -0800
+
 weston-imx (3.0.0-0) unstable; urgency=medium
 
   * Initial release
diff --git a/debian/etc/xdg/weston/weston.ini b/debian/etc/xdg/weston/weston.ini
index 61e7ecd..8fde5e3 100644
--- a/debian/etc/xdg/weston/weston.ini
+++ b/debian/etc/xdg/weston/weston.ini
@@ -9,3 +9,7 @@
 
 [keyboard]
 vt-switching=true
+
+[output]
+name=HDMI-A-1
+mode=1920x1080
diff --git a/debian/lib/systemd/system/weston.service b/debian/lib/systemd/system/weston.service
index de8baae..1adcd05 100644
--- a/debian/lib/systemd/system/weston.service
+++ b/debian/lib/systemd/system/weston.service
@@ -8,6 +8,7 @@
 User=aiy
 WorkingDirectory=/home/aiy
 PermissionsStartOnly=true
+Restart=always
 
 # Log us in via PAM so we get our XDG & co. environment and
 # are treated as logged in so we can use the tty: