Use Python 3
This commit is contained in:
parent
2fc80c20bc
commit
5f1a5a9ccb
2 changed files with 3 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue