File tree Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ RDEPENDS:${PN} = " \
28
28
29
29
SRC_URI = " \
30
30
file://configuration.yaml \
31
+ file://labgrid-coordinator.service \
31
32
file://labgrid-exporter.service \
32
33
file://environment \
33
34
"
@@ -44,6 +45,7 @@ do_install:append() {
44
45
install -m 0644 ${UNPACKDIR} /configuration . yaml ${D}${sysconfdir} /labgrid
45
46
install -m 0644 ${UNPACKDIR} /environment ${D}${sysconfdir} /labgrid
46
47
install -d ${D}${systemd_system_unitdir}
48
+ install -m 0644 ${UNPACKDIR} /labgrid -coordinator . service ${D}${systemd_system_unitdir} /
47
49
install -m 0644 ${UNPACKDIR} /labgrid -exporter . service ${D}${systemd_system_unitdir} /
48
50
}
49
51
Original file line number Diff line number Diff line change
1
+ [Unit]
2
+ Description =Labgrid Coordinator
3
+ After =network-online.target
4
+ Wants =network-online.target
5
+
6
+ [Service]
7
+ WorkingDirectory =%S/labgrid-coordinator
8
+ Environment ="PYTHONUNBUFFERED=1"
9
+ EnvironmentFile =/etc/labgrid/environment
10
+ ExecStart =/usr/bin/labgrid-coordinator --listen ${LABGRID_COORDINATOR_IP}:${LABGRID_COORDINATOR_PORT}
11
+ Restart =always
12
+ RestartSec =30
13
+
14
+ [Install]
15
+ WantedBy =multi-user.target
You can’t perform that action at this time.
0 commit comments