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.
This commit is contained in:
parent
57b68ef3e3
commit
35f51e1201
1 changed files with 15 additions and 0 deletions
15
gptbot-pantalaimon.service
Normal file
15
gptbot-pantalaimon.service
Normal file
|
@ -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
|
Loading…
Reference in a new issue