diff options
author | Lukas Larsson <[email protected]> | 2014-03-27 10:23:28 +0100 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2014-03-27 10:23:28 +0100 |
commit | be5ad8be918b803d4224e8d6b17a508d2559b8a1 (patch) | |
tree | b2ff548843c6abc9b2ada2cc0fdc4ef5f0ce4525 /erts/epmd/src/epmd_int.h | |
parent | 70d60cb4d825464149ca48fdeeb350ac4689cc00 (diff) | |
parent | b7c95eabf6017ddb352fb8ce2b3749af108ebf29 (diff) | |
download | otp-be5ad8be918b803d4224e8d6b17a508d2559b8a1.tar.gz otp-be5ad8be918b803d4224e8d6b17a508d2559b8a1.tar.bz2 otp-be5ad8be918b803d4224e8d6b17a508d2559b8a1.zip |
Merge branch 'matwey/systemd/OTP-11829'
* matwey/systemd/OTP-11829:
Add systemd socket activation for epmd.
Conflicts:
erts/epmd/src/epmd_int.h
Extra ticket: OTP-11828
Diffstat (limited to 'erts/epmd/src/epmd_int.h')
-rw-r--r-- | erts/epmd/src/epmd_int.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/erts/epmd/src/epmd_int.h b/erts/epmd/src/epmd_int.h index d4597be30c..c8f2192f7f 100644 --- a/erts/epmd/src/epmd_int.h +++ b/erts/epmd/src/epmd_int.h @@ -125,6 +125,9 @@ # include "sys/select.h" #endif +#ifdef HAVE_SYSTEMD_SD_DAEMON_H +# include <systemd/sd-daemon.h> +#endif /* ************************************************************************ */ /* Replace some functions by others by making the function name a macro */ @@ -337,6 +340,9 @@ typedef struct { int listenfd[MAX_LISTEN_SOCKETS]; char *addresses; char **argv; +#ifdef HAVE_SYSTEMD_SD_DAEMON_H + int is_systemd; +#endif } EpmdVars; void dbg_printf(EpmdVars*,int,const char*,...); |