Require socket to be passed by systemd, don't create it on our own
[platform/core/security/security-manager.git] / src / server / service / service.cpp
index faa337c..7f75bed 100644 (file)
@@ -43,7 +43,11 @@ Service::Service()
 GenericSocketService::ServiceDescriptionVector Service::GetServiceDescription()
 {
     return ServiceDescriptionVector {
-        {SERVICE_SOCKET, "security-manager", IFACE},
+        {SERVICE_SOCKET,  /* path */
+         "*",   /* smackLabel label (not used, we rely on systemd) */
+         IFACE, /* InterfaceID */
+         false, /* useSendMsg */
+         true}, /* systemdOnly */
     };
 }