Socket activation did not work because systemd sockets names did not
match socket names provided by services.
Change-Id: Ice4a0db2eee0ab7d6b5ef60be0e2a5dabb41d69d
namespace CKM {
-char const * const SERVICE_SOCKET_ECHO = "/tmp/.central-ckm-manager-echo.sock";
-char const * const SERVICE_SOCKET_CKM_CONTROL = "/tmp/.central-ckm-manager-api-control.sock";
-char const * const SERVICE_SOCKET_CKM_STORAGE = "/tmp/.central-ckm-manager-api-storage.sock";
+char const * const SERVICE_SOCKET_ECHO = "/tmp/.central-key-manager-echo.sock";
+char const * const SERVICE_SOCKET_CKM_CONTROL = "/tmp/.central-key-manager-api-control.sock";
+char const * const SERVICE_SOCKET_CKM_STORAGE = "/tmp/.central-key-manager-api-storage.sock";
DBDataType toDBDataType(KeyType key) {
switch(key) {
return fd;
}
}
- LogInfo("No useable sockets were passed by systemd.");
+ LogError("No useable sockets were passed by systemd.");
return -1;
}