#include "launch.h"
#define LAUNCHPAD_PROCESS_POOL_SOCK ".launchpad-process-pool-sock"
-#define AMD_SOCK ".amd-sock"
#define PATH_AUL_DAEMONS "/run/aul/daemons"
-#define PATH_AMD_SOCK PATH_AUL_DAEMONS "/" AMD_SOCK
+#define PATH_AMD_READY "/run/.amd_ready"
#define APP_TYPE_UI "uiapp"
#define APP_TYPE_SERVICE "svcapp"
#define INOTIFY_BUF (1024 * ((sizeof(struct inotify_event)) + 16))
static int __cmd_fast_start_run(struct launch_arg *arg)
{
- if (!access(PATH_AMD_SOCK, F_OK))
+ if (!access(PATH_AMD_READY, F_OK))
return __cmd_start_run(arg);
if (__set_appinfo_for_launchpad(arg->b, arg->appid, arg->uid) < 0) {