mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-25 14:44:32 +02:00
parent
9b9ee5c425
commit
0c60799b6a
@ -533,6 +533,9 @@ static int SetupService(bool install, int argc, char **argv)
|
|||||||
} else
|
} else
|
||||||
printf("Service installed successfully\n");
|
printf("Service installed successfully\n");
|
||||||
|
|
||||||
|
ChangeServiceConfig(schService, SERVICE_NO_CHANGE, SERVICE_AUTO_START,
|
||||||
|
SERVICE_ERROR_NORMAL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
|
||||||
|
|
||||||
SERVICE_DESCRIPTION sdDescription = { "The Icinga 2 monitoring application" };
|
SERVICE_DESCRIPTION sdDescription = { "The Icinga 2 monitoring application" };
|
||||||
ChangeServiceConfig2(schService, SERVICE_CONFIG_DESCRIPTION, &sdDescription);
|
ChangeServiceConfig2(schService, SERVICE_CONFIG_DESCRIPTION, &sdDescription);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user