From 5f1a5a9ccb0705d0b6acfdbca26c0a0f1e46e3dd Mon Sep 17 00:00:00 2001 From: Mike Gerber Date: Thu, 9 Sep 2021 13:36:21 +0200 Subject: [PATCH] Use Python 3 --- README.md | 4 ++-- check_systemd_state | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 35f00d5..f169af7 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ these commands: $ systemctl list-units $ systemctl status -Requires python-dbus. +Requires python3-dbus. License: Public Domain. Keep my name in it if you like. -Author: Mike Gerber 2015, 2016 +Author: Mike Gerber 2015, 2016, 2021 diff --git a/check_systemd_state b/check_systemd_state index b1c2a86..1a96c93 100755 --- a/check_systemd_state +++ b/check_systemd_state @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python3 # Nagios plugin to check the system state according to systemd. from __future__ import division, print_function