aboutsummaryrefslogtreecommitdiff
path: root/src/standalone.cpp
diff options
context:
space:
mode:
authorPaul Nettle <nettle.paul@gmail.com>2017-09-03 08:15:12 -0500
committerPaul Nettle <nettle.paul@gmail.com>2017-09-03 08:15:12 -0500
commit23e46d2de44a3d49063e852a38b020e7407a78bc (patch)
tree7eca15bc1e93dc47d828dc9cef72f66515d287c5 /src/standalone.cpp
parentCleaned up the logging a bit, improved server termination status returned fro... (diff)
downloadgobbledegook-23e46d2de44a3d49063e852a38b020e7407a78bc.tar.gz
gobbledegook-23e46d2de44a3d49063e852a38b020e7407a78bc.tar.bz2
gobbledegook-23e46d2de44a3d49063e852a38b020e7407a78bc.zip
The GGK server names are no longer in Globals.h but are now configured by ggkStart() allowing an application to change them based on configuration rather than compilation. Power-off-disconnect errors hacked out of existence. A few log lines that were set to trace converted to debug log levels to reduce logspam.
Diffstat (limited to 'src/standalone.cpp')
-rw-r--r--src/standalone.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/standalone.cpp b/src/standalone.cpp
index c8af5d6..3c4968c 100644
--- a/src/standalone.cpp
+++ b/src/standalone.cpp
@@ -293,7 +293,13 @@ int main(int argc, char **ppArgv)
// Start the server's ascync processing
//
// This starts the server on a thread and begins the initialization process
- if (!ggkStart(dataGetter, dataSetter, kMaxAsyncInitTimeoutMS))
+ //
+ // !!!IMPORTANT!!!
+ //
+ // This first parameter (the service name) must match tha name configured in the D-Bus permissions. See the Readme.md file
+ // for more information.
+ //
+ if (!ggkStart("gobbledegook", "Gobbledegook", "Gobbledegook", dataGetter, dataSetter, kMaxAsyncInitTimeoutMS))
{
return -1;
}