summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2024-04-03 05:40:32 +0200
committerDamien Miller <djm@mindrot.org>2024-04-03 05:40:32 +0200
commit08f579231cd38a1c657aaa6ddeb8ab57a1fd4f5c (patch)
treed36e7486497b6a4cec4509c82cd3faad584b7508 /configure.ac
parentPort changes from selfhosted to upstream tests. (diff)
downloadopenssh-08f579231cd38a1c657aaa6ddeb8ab57a1fd4f5c.tar.xz
openssh-08f579231cd38a1c657aaa6ddeb8ab57a1fd4f5c.zip
notify systemd on listen and reload
Standalone implementation that does not depend on libsystemd. With assistance from Luca Boccassi, and feedback/testing from Colin Watson. bz2641
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index c04349f35..2cf16b46a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -915,6 +915,7 @@ int main(void) { if (NSVersionOfRunTimeLibrary("System") >= (60 << 16))
AC_DEFINE([_PATH_BTMP], ["/var/log/btmp"], [log for bad login attempts])
AC_DEFINE([USE_BTMP])
AC_DEFINE([LINUX_OOM_ADJUST], [1], [Adjust Linux out-of-memory killer])
+ AC_DEFINE([SYSTEMD_NOTIFY], [1], [Have sshd notify systemd on start/reload])
inet6_default_4in6=yes
case `uname -r` in
1.*|2.0.*)