cleaner setup in /opt
This commit is contained in:
+1
-1
@@ -34,7 +34,7 @@ def graph(output: Path, rrd: Path, start: str, title: str, unit: str,
|
||||
|
||||
def main() -> None:
|
||||
parser = argparse.ArgumentParser(description=__doc__)
|
||||
parser.add_argument("--config", default="/etc/cheap-system-monitor.conf")
|
||||
parser.add_argument("--config", default="/opt/cheap_system_monitor/monitor.conf")
|
||||
args = parser.parse_args()
|
||||
config_parser = configparser.ConfigParser()
|
||||
if not config_parser.read(args.config):
|
||||
|
||||
Reference in New Issue
Block a user