fixed dir structure, added missing dynu script

This commit is contained in:
2026-08-31 22:32:00 -04:00
parent bda1145d4c
commit 39198bdd3a
4 changed files with 2 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
[Unit]
Description=Run dynamic DNS service script
After=network.target
[Service]
Type=simple
Restart=on-failure
RestartSec=300
User=oracle
ExecStart=/home/oracle/.config/dynu/dynu.sh
WorkingDirectory=/home/oracle/.config/dynu/
[Install]
WantedBy=multi-user.target
+2
View File
@@ -0,0 +1,2 @@
#!/usr/bin/bash
echo url="http://api.dynu.com/nic/update?username=sacelani&password=3fcbc4856fa83ce0814e9860896939c5" | curl -k -o ~/.config/dynu/dynu.log -K -
+9
View File
@@ -0,0 +1,9 @@
[Unit]
Description=Run dynamic DNS service script
[Timer]
OnBootSec=15min
OnUnitActiveSec=15min
[Install]
WantedBy=timers.target