Initial SINCE timestamp
miekg opened this issue · 0 comments
miekg commented
If we don't have a clue when the service's state has changes a zero timestamp is used. If gitopper crashes and comes up again, all services will that zero timestamp. It would be better to get the start time of the service, or if there is no service, get the boot time of the machine.
I.e.
- service boot:
systemctl show --property=ExecMainStartTimestamp grafana-server
- kernel boot:
systemctl show --property=KernelTimestamp