From 35f51e12012b10e43e9c604309267efce31b88a8 Mon Sep 17 00:00:00 2001 From: Kumi Date: Tue, 5 Dec 2023 14:18:18 +0100 Subject: [PATCH] Added systemd service for Pantalaimon integration Introduced a new systemd service configuration for GPTbot to ensure Pantalaimon starts as a background process on system boot, maintaining persistent Matrix encryption handling. Ensures seamless restarts and network dependency management for improved reliability. --- gptbot-pantalaimon.service | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 gptbot-pantalaimon.service diff --git a/gptbot-pantalaimon.service b/gptbot-pantalaimon.service new file mode 100644 index 0000000..2c8e1b0 --- /dev/null +++ b/gptbot-pantalaimon.service @@ -0,0 +1,15 @@ +[Unit] +Description=Pantalaimon for GPTbot +Requires=network.target + +[Service] +Type=simple +User=gptbot +Group=gptbot +WorkingDirectory=/opt/gptbot +ExecStart=/opt/gptbot/venv/bin/python3 -um pantalaimon.main -c pantalaimon.conf +Restart=always +RestartSec=10 + +[Install] +WantedBy=multi-user.target \ No newline at end of file