Skip to contentSkip to conversation

matrix-gui: update matrix-gui-2.0.service

PATCH In review Hongmei Gou 2 participants 2 messages Dec 4, 2018

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 matrix-gui: update matrix-gui-2.0.service

* Add "Requires=weston.service" to make matrix-gui start only after weston has successfully started

* Match matrix-gui-2.0.service with SysVinit auto-generated service to ensure reliable matrxi-gui startup from booting

---
V2 change:
Remove "Before=thermal-zone-init.service" per the review

 .../recipes-core/matrix/matrix-gui/matrix-gui-2.0.service         | 8 ++++++++
 meta-arago-extras/recipes-core/matrix/matrix-gui_2.0.bb           | 2 +-
 2 files changed, 9 insertions(+), 1 deletion(-)
meta-arago-extras/recipes-core/matrix/matrix-gui/matrix-gui-2.0.service +8 -0
index 3ce1024..40a8f0f 100644
@@ -1,9 +1,17 @@
 [Unit]
 Description=Matrix GUI
 After=weston.service
+Requires=weston.service
+Before=graphical.target
 
 [Service]
 Type=forking
+Restart=no
+TimeoutSec=5min
+IgnoreSIGPIPE=no
+KillMode=process
+GuessMainPID=no
+RemainAfterExit=yes
 ExecStart=/etc/init.d/matrix-gui-2.0 start
 
 [Install]
meta-arago-extras/recipes-core/matrix/matrix-gui_2.0.bb +1 -1
index c79f13e..064e27d 100644
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=a886c9ef769b2d8271115d2502512e5d"
 
 SECTION = "multimedia"
 
-PR = "r36"
+PR = "r37"
 
 SYSTEMD_SERVICE_${PN} = "matrix-gui-2.0.service"
 
Signature · 1 line
1.9.1
#1 lore raw

Ack

Quoted 57 lines · Hongmei Gou

* Add "Requires=weston.service" to make matrix-gui start only after weston has successfully started

* Match matrix-gui-2.0.service with SysVinit auto-generated service to ensure reliable matrxi-gui startup from booting

---
V2 change:
Remove "Before=thermal-zone-init.service" per the review

 .../recipes-core/matrix/matrix-gui/matrix-gui-2.0.service         | 8 ++++++++
 meta-arago-extras/recipes-core/matrix/matrix-gui_2.0.bb           | 2 +-
 2 files changed, 9 insertions(+), 1 deletion(-)
meta-arago-extras/recipes-core/matrix/matrix-gui/matrix-gui-2.0.service +8 -0
index 3ce1024..40a8f0f 100644
@@ -1,9 +1,17 @@
 [Unit]
 Description=Matrix GUI
 After=weston.service
+Requires=weston.service
+Before=graphical.target
 
 [Service]
 Type=forking
+Restart=no
+TimeoutSec=5min
+IgnoreSIGPIPE=no
+KillMode=process
+GuessMainPID=no
+RemainAfterExit=yes
 ExecStart=/etc/init.d/matrix-gui-2.0 start
 
 [Install]
meta-arago-extras/recipes-core/matrix/matrix-gui_2.0.bb +1 -1
index c79f13e..064e27d 100644
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=a886c9ef769b2d8271115d2502512e5d"
 
 SECTION = "multimedia"
 
-PR = "r36"
+PR = "r37"
 
 SYSTEMD_SERVICE_${PN} = "matrix-gui-2.0.service"
 
Signature · 6 lines
1.9.1

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago