From 033402319af1198d44e13e2452d2b150b3157900 Mon Sep 17 00:00:00 2001 From: Tom Clegg Date: Mon, 11 Jul 2022 14:00:14 -0400 Subject: [PATCH] 17344: 'systemctl reload arvados' sends SIGHUP to reload config. Arvados-DCO-1.1-Signed-off-by: Tom Clegg --- lib/install/arvados.service | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/install/arvados.service b/lib/install/arvados.service index cb411c63a5..3b68f31e9f 100644 --- a/lib/install/arvados.service +++ b/lib/install/arvados.service @@ -15,10 +15,11 @@ StartLimitIntervalSec=0 Type=notify EnvironmentFile=-/etc/arvados/environment ExecStart=/usr/bin/arvados-server boot -# Set a reasonable default for the open file limit -LimitNOFILE=65536 +ExecReload=/usr/bin/arvados-server config-check +ExecReload=kill -HUP $MAINPID Restart=always RestartSec=1 +LimitNOFILE=65536 # systemd<=219 (centos:7, debian:8, ubuntu:trusty) obeys StartLimitInterval in the [Service] section StartLimitInterval=0 -- 2.30.2