mirror of
http://galexander.org/git/simplesshd.git
synced 2025-07-02 01:12:33 +00:00
put the pid file under conf_path_file()
This commit is contained in:
parent
781af9c467
commit
834e994042
@ -5,6 +5,8 @@
|
|||||||
#ifndef _OPTIONS_H_
|
#ifndef _OPTIONS_H_
|
||||||
#define _OPTIONS_H_
|
#define _OPTIONS_H_
|
||||||
|
|
||||||
|
extern const char *conf_path_file(const char *fn); /* in jni/interface.c */
|
||||||
|
|
||||||
/* Define compile-time options below - the "#ifndef DROPBEAR_XXX .... #endif"
|
/* Define compile-time options below - the "#ifndef DROPBEAR_XXX .... #endif"
|
||||||
* parts are to allow for commandline -DDROPBEAR_XXX options etc. */
|
* parts are to allow for commandline -DDROPBEAR_XXX options etc. */
|
||||||
|
|
||||||
@ -19,8 +21,6 @@
|
|||||||
#define DROPBEAR_DEFADDRESS ""
|
#define DROPBEAR_DEFADDRESS ""
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern const char *conf_path_file(const char *fn); /* in jni/interface.c */
|
|
||||||
|
|
||||||
/* Default hostkey paths - these can be specified on the command line */
|
/* Default hostkey paths - these can be specified on the command line */
|
||||||
#ifndef DSS_PRIV_FILENAME
|
#ifndef DSS_PRIV_FILENAME
|
||||||
#define DSS_PRIV_FILENAME conf_path_file("dropbear_dss_host_key")
|
#define DSS_PRIV_FILENAME conf_path_file("dropbear_dss_host_key")
|
||||||
@ -259,7 +259,7 @@ much traffic. */
|
|||||||
|
|
||||||
/* The default file to store the daemon's process ID, for shutdown
|
/* The default file to store the daemon's process ID, for shutdown
|
||||||
scripts etc. This can be overridden with the -P flag */
|
scripts etc. This can be overridden with the -P flag */
|
||||||
#undef DROPBEAR_PIDFILE
|
#define DROPBEAR_PIDFILE conf_path_file("dropbear.pid")
|
||||||
|
|
||||||
/* The command to invoke for xauth when using X11 forwarding.
|
/* The command to invoke for xauth when using X11 forwarding.
|
||||||
* "-q" for quiet */
|
* "-q" for quiet */
|
||||||
|
Loading…
Reference in New Issue
Block a user