aboutsummaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen2/recipes-graphics/gles-module/gles-user-module/rc.pvr.service
diff options
context:
space:
mode:
authorRonan <ronan.lemartret@iot.bzh>2016-10-21 11:47:04 +0200
committerRonan <ronan.lemartret@iot.bzh>2016-10-28 10:38:32 +0200
commit53c3b9f24914241a127529b452fc35fb00339631 (patch)
treec53dfeb4ff1bb2b9134aad5752a0c462112f3944 /meta-rcar-gen2/recipes-graphics/gles-module/gles-user-module/rc.pvr.service
parentf54635ba5cb8e905c12d0904cfa225ecf3d2beb4 (diff)
rc.pvr become a systemd service
Change-Id: Ie58d65d312e9d00f5d3ba295034924954d9141f7 Signed-off-by: Ronan <ronan.lemartret@iot.bzh>
Diffstat (limited to 'meta-rcar-gen2/recipes-graphics/gles-module/gles-user-module/rc.pvr.service')
-rw-r--r--meta-rcar-gen2/recipes-graphics/gles-module/gles-user-module/rc.pvr.service18
1 files changed, 18 insertions, 0 deletions
diff --git a/meta-rcar-gen2/recipes-graphics/gles-module/gles-user-module/rc.pvr.service b/meta-rcar-gen2/recipes-graphics/gles-module/gles-user-module/rc.pvr.service
new file mode 100644
index 0000000..5aec697
--- /dev/null
+++ b/meta-rcar-gen2/recipes-graphics/gles-module/gles-user-module/rc.pvr.service
@@ -0,0 +1,18 @@
+
+[Unit]
+SourcePath=/usr/local/bin/rc.pvr
+Before=weston.service
+
+[Service]
+Type=forking
+Restart=no
+TimeoutSec=5min
+IgnoreSIGPIPE=no
+KillMode=process
+GuessMainPID=no
+RemainAfterExit=yes
+ExecStart=/usr/local/bin/rc.pvr start
+ExecStop=/usr/local/bin/rc.pvr stop
+
+[Install]
+RequiredBy=weston.service