From 566397ba65a2b94864e770f7ef2f092952767eb3 Mon Sep 17 00:00:00 2001 From: Emanuele Bovisio Date: Thu, 22 Oct 2020 17:04:24 +0200 Subject: tools: add PIDFile option in frr.service when type is forking, it is recommended to also use the PIDFile= option, so that systemd can reliably identify the main process of the service. Signed-off-by: Emanuele Bovisio --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 8e86ba87f..6ce8dbc19 100755 --- a/configure.ac +++ b/configure.ac @@ -2466,6 +2466,8 @@ AC_CONFIG_FILES([tools/frr], [chmod +x tools/frr]) AC_CONFIG_FILES([tools/watchfrr.sh], [chmod +x tools/watchfrr.sh]) AC_CONFIG_FILES([tools/frrinit.sh], [chmod +x tools/frrinit.sh]) AC_CONFIG_FILES([tools/frrcommon.sh]) +AC_CONFIG_FILES([tools/frr.service]) +AC_CONFIG_FILES([tools/frr@.service]) AC_CONFIG_COMMANDS([lib/route_types.h], [ dst="${ac_abs_top_builddir}/lib/route_types.h" -- cgit v1.2.3