Compare commits
No commits in common. "04f515f995d74c928648c3f58262b1418f4886f4" and "7dfb984d272968ed3430e980847b7775b9c5f018" have entirely different histories.
04f515f995
...
7dfb984d27
4
main.sh
4
main.sh
@ -1,8 +1,8 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
source "$(dirname "$0")/variables.conf"
|
source $(pwd)/variables.conf
|
||||||
|
|
||||||
KEY="$(dirname "$0")/dns.key"
|
KEY="$(pwd)/dns.key"
|
||||||
TTL=604800
|
TTL=604800
|
||||||
|
|
||||||
FQDN=$(hostname)
|
FQDN=$(hostname)
|
||||||
|
@ -2,6 +2,5 @@
|
|||||||
Description=Update (if needed) name server with our IP
|
Description=Update (if needed) name server with our IP
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
|
||||||
User=PH_USER
|
User=PH_USER
|
||||||
ExecStart=PH_DIRECTORY/main.sh
|
ExecStart=PH_DIRECTORY/main.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user