From 8104ee75d4aa071aac6bfac55e2bb31a7c79590f Mon Sep 17 00:00:00 2001 From: pojlFDlxCOvZ4Kg8y1l4 <42654642+pojlFDlxCOvZ4Kg8y1l4@users.noreply.github.com> Date: Fri, 8 May 2020 04:46:37 +0200 Subject: [PATCH] Create systemd_py-kms.conf The wiki stated the following sentence "you can also create a daemon with systemd" - and thats what I did! The service works fine, except for the log file. It doesn't append anything to the log file specified. --- py-kms/systemd_py-kms.conf | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 py-kms/systemd_py-kms.conf diff --git a/py-kms/systemd_py-kms.conf b/py-kms/systemd_py-kms.conf new file mode 100644 index 0000000..843db93 --- /dev/null +++ b/py-kms/systemd_py-kms.conf @@ -0,0 +1,18 @@ +## Py-kms systemd config file + +# sudo nano /etc/systemd/system/py-kms.conf + +[Unit] +Description=py-kms + +[Service] +Environment= PYTHON_HOME=/