diff options
Diffstat (limited to 'options.c')
-rw-r--r-- | options.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -795,6 +795,8 @@ setenv_settings (struct env_set *es, const struct options *o) setenv_int (es, "verb", o->verbosity); setenv_int (es, "daemon", o->daemon); setenv_int (es, "daemon_log_redirect", o->log); + setenv_unsigned (es, "daemon_start_time", time(NULL)); + setenv_int (es, "daemon_pid", openvpn_getpid()); #ifdef ENABLE_CONNECTION if (o->connection_list) |