supervisor: Setup services for local API use
[src/app-framework-binder.git] / afm-api-supervisor.socket
diff --git a/afm-api-supervisor.socket b/afm-api-supervisor.socket
new file mode 100644 (file)
index 0000000..e55a267
--- /dev/null
@@ -0,0 +1,21 @@
+# afm-api-supervisor.socket.in
+
+[Unit]
+Description=Service to start the API 'supervisor'
+
+DefaultDependencies=no
+
+Requires=afm-system-setup.service
+After=afm-system-setup.service
+
+[Socket]
+SmackLabel=*
+SmackLabelIPIn=System
+SmackLabelIPOut=System
+ListenStream=/run/platform/apis/ws/supervisor
+FileDescriptorName=supervisor
+Service=afs-supervisor.service
+
+[Install]
+WantedBy=sockets.target
+