From 0dfc81264d7104a2bc63f96d19980957fd63ba52 Mon Sep 17 00:00:00 2001 From: Cyberes Date: Sat, 18 Mar 2023 02:41:29 -0600 Subject: [PATCH] service --- matrixgpt.service | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/matrixgpt.service b/matrixgpt.service index e1df875..7e99a7f 100644 --- a/matrixgpt.service +++ b/matrixgpt.service @@ -1,14 +1,12 @@ [Unit] -Description=Icinga to Kuma converter. +Description=MatrixGPT bot. After=network.target [Service] -User=flask -Environment="ICINGA2KUMA_ICINGA2_PW=[your icinga2 API password]" -WorkingDirectory=/opt/icinga2-checks +User=matrix-bots +WorkingDirectory=/opt/MatrixGPT/ ExecStart=/opt/MatrixGPT/venv/bin/python3 /opt/MatrixGPT/main.py --config /etc/matrixgpt/config.yaml Restart=always [Install] WantedBy=multi-user.target -