Skip to content

Commit

Permalink
Merge pull request #105 from briandowns/update_install_agent_systemd_…
Browse files Browse the repository at this point in the history
…home

use env var for systemd env file population
  • Loading branch information
briandowns authored Jul 21, 2020
2 parents 992e2c8 + 7dc1ace commit a61c126
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a61c126

Please sign in to comment.