From: Tom Clegg Date: Mon, 11 Jul 2022 18:00:14 +0000 (-0400) Subject: 17344: 'systemctl reload arvados' sends SIGHUP to reload config. X-Git-Tag: 2.5.0~115^2~22 X-Git-Url: https://git.arvados.org/arvados.git/commitdiff_plain/033402319af1198d44e13e2452d2b150b3157900 17344: 'systemctl reload arvados' sends SIGHUP to reload config. Arvados-DCO-1.1-Signed-off-by: Tom Clegg --- 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