Setup as a service on Linux using systemd

Create a file called /etc/systemd/system/r53-ddns.service as root.

Description=R53 DDNS Service

ExecStart=/snap/bin/r53-ddns -s=net -c=300


Set up the AWS credentials file in default location for the root user.

Start the service with the following:

sudo systemctl start r53-ddns

Make sure it restarts on reboot:

sudo systemctl daemon-reload
sudo systemctl enable r53-ddns

Check it is running OK:

systemctl status r53-ddns

Another issue you will find it that the binary snap will not update unless you stop the service. You might want to consider putting something like this in the crontab of your root user which will keep all of your :

0 0 0 * * service r53-ddns stop && snap refresh r53-ddns && service r53-ddns start

a1ecbr0wn License r53-ddns