From 5bd3ee3880f26077c4f984c0c06c9dcf5a6d1830 Mon Sep 17 00:00:00 2001 From: Mike Lake <Mike.Lake@uts.edu.au> Date: Tue, 26 Oct 2021 15:30:47 +1100 Subject: [PATCH] Added a bit to the install --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1f6d3d7..72f4b9a 100644 --- a/README.md +++ b/README.md @@ -91,7 +91,7 @@ to create `_pbs.so`. The swig generated `pbs.py` imports `_pbs.so` at run time. Now edit `check_utilisation.py` and fill in the required parameters for your site i.e. the `from_email` and the `mail_server` settings. -Now you should be able to run the utilisation script: +Now you should be able to run the utilisation script from this directory: $ ./check_utilisation.py -h usage: check_utilisation.py running|finished|all [-h] [-u USER] [-e EMAIL] @@ -108,6 +108,10 @@ Now you should be able to run the utilisation script: -e EMAIL, --email EMAIL Email a copy of this report to yourself. +If you wish to install the script somewhere else, e.g. under `/usr/local/bin/` +then just copy the script to under `/usr/local/bin/` plus you will need the +directory `/usr/local/bin/pbs/` containing `pbs.py`, `_pbs.so` and `pbsutils.py`. + ## The User Database In the Python code the `users_db_name` is a small sqlite database that just contains user information -- GitLab