~ubuntu-branches/ubuntu/hardy/openvpn/hardy-security

« back to all changes in this revision

Viewing changes to service-win32/openvpnserv.c

  • Committer: Bazaar Package Importer
  • Author(s): Alberto Gonzalez Iniesta
  • Date: 2005-01-05 19:03:11 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050105190311-mvqzpuhmlvobg9nh
Tags: 1.99+2.rc6-1
* The 'Three Wise Men' release.
* New upstream release.
* Update README.Debian with comments on changed string remapping.
  Thanks ron@debian.org for noting this first. (Closes: #288669)

Show diffs side-by-side

added added

removed removed

Lines of Context:
60
60
 * Control Manager which will cause an asynchronous call
61
61
 * of ServiceStop below.
62
62
 */
63
 
#define EXIT_EVENT_NAME "openvpn_exit"
 
63
#define EXIT_EVENT_NAME "openvpn_exit_1"
64
64
 
65
65
static HANDLE exit_event = NULL;
66
66
 
325
325
          mysnprintf (log_path, "%s\\%s", log_dir, log_file);
326
326
 
327
327
          /* construct command line */
328
 
          mysnprintf (command_line, "openvpn --config \"%s\"", find_obj.cFileName);
 
328
          mysnprintf (command_line, "openvpn --service %s 1 --config \"%s\"",
 
329
                      EXIT_EVENT_NAME,
 
330
                      find_obj.cFileName);
329
331
 
330
332
          /* Make security attributes struct for logfile handle so it can
331
333
             be inherited. */