From 3a92e387850be9c769d7f33b1fd2675f3205dc65 Mon Sep 17 00:00:00 2001 From: rskntroot Date: Mon, 29 Jul 2024 09:39:50 +0000 Subject: [PATCH] update setup inst. --- README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index b7122ee..dd15e30 100644 --- a/README.md +++ b/README.md @@ -25,21 +25,22 @@ If so, this is for you. DNS_ZONE_ID=YOURZONEIDHERE \ envsubst < aws.policy > Route53AllowRecordUpdate.policy ``` -1. create IAM user, generate access keys for automated service -1. log into aws with the acct on the machine where you install this binary +1. in aws, create IAM user, attach policy, generate access keys for automated service +1. log into aws cli with the account you created above ``` aws sso login --profile ``` 1. setup link in `/usr/bin` ``` zsh - ln -s -f ~/r53-ddns/target/release/r53-ddns /usr/bin/r53-ddns + ln -sf ~/r53-ddns/target/release/r53-ddns /usr/bin/r53-ddns ``` 1. setup systemd service and then install as normal ```zsh DNS_ZONE_ID=YOURZONEIDHERE \ DOMAIN_NAME=your.domain.com. \ - envsubst < r53-ddns.service | sudo /etc/system/ + envsubst < r53-ddns.service | sudo tee -a /etc/systemd/system/r53-ddns.service ``` + ## CLI Usage ```