[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r24594 - gnunet-gtk/src/setup
From: |
gnunet |
Subject: |
[GNUnet-SVN] r24594 - gnunet-gtk/src/setup |
Date: |
Mon, 29 Oct 2012 17:14:09 +0100 |
Author: grothoff
Date: 2012-10-29 17:14:09 +0100 (Mon, 29 Oct 2012)
New Revision: 24594
Modified:
gnunet-gtk/src/setup/gnunet-setup.c
Log:
installing all service, daemon and helper binaries to lib/gnunet/libexec/;
updating code to run binaries from new location, which is no longer in PATH
Modified: gnunet-gtk/src/setup/gnunet-setup.c
===================================================================
--- gnunet-gtk/src/setup/gnunet-setup.c 2012-10-29 16:14:03 UTC (rev 24593)
+++ gnunet-gtk/src/setup/gnunet-setup.c 2012-10-29 16:14:09 UTC (rev 24594)
@@ -405,13 +405,17 @@
start_resolver (void *cls,
const struct GNUNET_SCHEDULER_TaskContext *tc)
{
+ char *binary;
+
if (0 == (tc->reason & GNUNET_SCHEDULER_REASON_TIMEOUT))
return;
+ binary = GNUNET_OS_get_libexec_binary_path ("gnunet-service-resolver");
resolver =
GNUNET_OS_start_process (GNUNET_YES, GNUNET_OS_INHERIT_STD_ALL,
NULL,NULL,
- "gnunet-service-resolver",
+ binary,
"gnunet-service-resolver", NULL);
+ GNUNET_free (binary);
}
@@ -426,15 +430,19 @@
start_namestore (void *cls,
const struct GNUNET_SCHEDULER_TaskContext *tc)
{
+ char *binary;
+
if (0 == (tc->reason & GNUNET_SCHEDULER_REASON_TIMEOUT))
return;
if (0 != (tc->reason & GNUNET_SCHEDULER_REASON_SHUTDOWN))
return;
+ binary = GNUNET_OS_get_libexec_binary_path ("gnunet-service-namestore");
namestore =
GNUNET_OS_start_process (GNUNET_YES, GNUNET_OS_INHERIT_STD_ALL,
NULL, NULL,
- "gnunet-service-namestore",
+ binary,
"gnunet-service-namestore", NULL);
+ GNUNET_free (binary);
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r24594 - gnunet-gtk/src/setup,
gnunet <=