Use Python 3

master
Mike Gerber 3 years ago
parent 2fc80c20bc
commit 5f1a5a9ccb

@ -15,7 +15,7 @@ these commands:
$ systemctl list-units $ systemctl list-units
$ systemctl status $ systemctl status
Requires python-dbus. Requires python3-dbus.
License: Public Domain. Keep my name in it if you like. License: Public Domain. Keep my name in it if you like.
Author: Mike Gerber 2015, 2016 Author: Mike Gerber 2015, 2016, 2021

@ -1,4 +1,4 @@
#!/usr/bin/python #!/usr/bin/python3
# Nagios plugin to check the system state according to systemd. # Nagios plugin to check the system state according to systemd.
from __future__ import division, print_function from __future__ import division, print_function

Loading…
Cancel
Save