From 801adc5df5b99ff9e9f3c06b1a155b36c4000359 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sun, 20 Aug 2017 17:49:09 -0400 Subject: add a README and license information --- systemd.py | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'systemd.py') diff --git a/systemd.py b/systemd.py index 18cdb77..ee4808e 100755 --- a/systemd.py +++ b/systemd.py @@ -1,12 +1,28 @@ #!/usr/bin/env python +# collectd-systemd - systemd.py : +# A collectd plugin to read systemd unit and job counts # +# Copyright 2017 Luke Shumaker +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + # This should be both valid Python 2 and 3, as the collectd Python # plugin can be either Python 2 or 3 (decided at compile time). # # Oddly, the Arch 'collectd' package chose Python 2, despite using # Python 3 as the default system Python. I assume they have a good # reason for it, though I can't find it discussed anywhere. - import sys import dbus -- cgit v1.2.3