forked from Mirrors/freeswitch
freeswitch: fix user for windows service (FSCORE-277)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11538 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
06dbbf8ed8
commit
abb7adf03b
@ -352,7 +352,7 @@ int main(int argc, char *argv[])
|
||||
GENERIC_READ | GENERIC_EXECUTE | SERVICE_CHANGE_CONFIG,
|
||||
SERVICE_WIN32_OWN_PROCESS, SERVICE_AUTO_START, SERVICE_ERROR_IGNORE,
|
||||
servicePath, NULL, NULL, NULL,
|
||||
"NT AUTHORITY\\NetworkService", /* Service start name */
|
||||
NULL, /* Service start name */
|
||||
NULL);
|
||||
if (!hService) {
|
||||
fprintf(stderr, "Error creating freeswitch service (%d).\n", GetLastError());
|
||||
|
Loading…
Reference in New Issue
Block a user