aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-wam/grpc-web-proxy/files/databroker-grpc-web-proxy.service
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-wam/grpc-web-proxy/files/databroker-grpc-web-proxy.service')
-rw-r--r--recipes-wam/grpc-web-proxy/files/databroker-grpc-web-proxy.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/recipes-wam/grpc-web-proxy/files/databroker-grpc-web-proxy.service b/recipes-wam/grpc-web-proxy/files/databroker-grpc-web-proxy.service
new file mode 100644
index 000000000..ff6afe44d
--- /dev/null
+++ b/recipes-wam/grpc-web-proxy/files/databroker-grpc-web-proxy.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=gRPC web reverse proxy to kuksa.val databroker
+Requires=kuksa-databroker.service
+After=kuksa-databroker.service
+
+[Service]
+User=kuksa
+EnvironmentFile=-/etc/default/databroker-grpc-web-proxy.env
+ExecStart=/usr/bin/grpcwebproxy $EXTRA_ARGS
+Restart=on-abort
+
+[Install]
+WantedBy=multi-user.target