From 7dc1acee9989bb30ba11297cfeb03a266f9687e4 Mon Sep 17 00:00:00 2001 From: Brian Downs Date: Tue, 21 Jul 2020 13:36:27 -0700 Subject: [PATCH] use env var for systemd env file population Signed-off-by: Brian Downs --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index b06aee4e8c..2be481e5d2 100755 --- a/install.sh +++ b/install.sh @@ -707,7 +707,7 @@ ExecStart=${BIN_DIR}/rke2 \\ ${CMD_RKE2_EXEC} EOF - echo "HOME=/root" | ${SUDO} tee /etc/systemd/system/rke2.service.env >/dev/null + echo "HOME=/root" | ${SUDO} tee /etc/systemd/system/"${FILE_RKE2_ENV}" >/dev/null } # create_openrc_service_file writes the openrc