This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
check_service_and_restart_if_failed [2020/07/27 03:32] k2patel |
check_service_and_restart_if_failed [2020/07/27 03:33] k2patel |
||
---|---|---|---|
Line 22: | Line 22: | ||
#!/usr/bin/env python3 | #!/usr/bin/env python3 | ||
import os | import os | ||
- | import sys | ||
import logging | import logging | ||
from systemd import journal | from systemd import journal |