summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/main.c b/main.c
index 6b40e86..1697c6a 100644
--- a/main.c
+++ b/main.c
@@ -3,6 +3,7 @@
#include "command_service.h"
#include "conf.h"
#include "servers.h"
+#include "control_service.h"
#include <glib.h>
#include <glib-object.h>
@@ -21,6 +22,8 @@ int main(int argc, char **argv) {
conf_load();
+ control_service_start();
+
servers_init();
music_init();
@@ -41,6 +44,8 @@ int main(int argc, char **argv) {
servers_free();
+ control_service_stop();
+
conf_free();
return 0;