139
139
return self._get_dir_mtime(sentry_unit, proc_dir)
141
141
def service_restarted(self, sentry_unit, service, filename,
143
143
"""Compare a service's start time vs a file's last modification time
144
144
(such as a config file for that service) to determine if the service
147
147
if self._get_proc_start_time(sentry_unit, service, pgrep_full) >= \
148
148
self._get_file_mtime(sentry_unit, filename):