I logged into my router to check the status of the Dynamic DNS that I recently configured.
The service is showing as 'stopped'.
The logs show that the process was terminated by SIGTERM.
123102 : Detect registered/public IP
123102 : #> /usr/bin/host -t A hostname.domain.com >/var/run/ddns/hostname.dat 2>/var/run/ddns/hostname.err
123102 : Registered IP 'x.x.x.192' detected
123102 info : Rerun IP check at 2023-03-15 12:31
123102 : Detect local IP on 'network'
123102 : Local IP 'x.x.x.192' detected on network 'ISP_WAN'
123102 : Waiting 600 seconds (Check Interval)
124102 : Detect registered/public IP
124102 : #> /usr/bin/host -t A hostname.domain.com >/var/run/ddns/hostname.dat 2>/var/run/ddns/hostname.err
124102 : Registered IP 'x.x.x.192' detected
124102 info : Rerun IP check at 2023-03-15 12:41
124102 : Detect local IP on 'network'
124102 : Local IP 'x.x.x.192' detected on network 'ISP_WAN'
124102 : Forced Update - L: 'x.x.x.192' == R: 'x.x.x.192'
124102 : Force communication via IP 'x.x.x.192'
124102 : #> /usr/bin/wget --hsts-file=/tmp/.wget-hsts -nv -t 1 -O /var/run/ddns/hostname.dat -o /var/run/ddns/hostname.err --bind-addr
124105 : DDNS Provider answered:
nochg
124105 info : Forced update successful - IP: 'x.x.x.192' send
124105 : Waiting 600 seconds (Check Interval)
125105 : Detect registered/public IP
125105 : #> /usr/bin/host -t A hostname.domain.com >/var/run/ddns/hostname.dat 2>/var/run/ddns/hostname.err
125105 : Registered IP 'x.x.x.192' detected
125105 info : Rerun IP check at 2023-03-15 12:51
125105 : Detect local IP on 'network'
125105 : Local IP 'x.x.x.192' detected on network 'ISP_WAN'
125105 : Waiting 600 seconds (Check Interval)
130105 : Detect registered/public IP
130105 : #> /usr/bin/host -t A hostname.domain.com >/var/run/ddns/hostname.dat 2>/var/run/ddns/hostname.err
130105 : Registered IP 'x.x.x.192' detected
130105 info : Rerun IP check at 2023-03-15 13:01
130105 : Detect local IP on 'network'
130105 : Local IP 'x.x.x.192' detected on network 'ISP_WAN'
130105 : Waiting 600 seconds (Check Interval)
131105 : Detect registered/public IP
131105 : #> /usr/bin/host -t A hostname.domain.com >/var/run/ddns/hostname.dat 2>/var/run/ddns/hostname.err
131106 : Registered IP 'x.x.x.192' detected
131106 info : Rerun IP check at 2023-03-15 13:11
131106 : Detect local IP on 'network'
131106 : Local IP 'x.x.x.192' detected on network 'ISP_WAN'
131106 : Waiting 600 seconds (Check Interval)
131207 note : PID '5788' terminated by 'SIGTERM' at 2023-03-15 13:12
It looks like everything was working fine until SIGTERM stopped the service. Is there a way to ascertain why the service was stopped?
Is this a known issue? Does it require a script to check if the process is running and start it if necessary?