Improved Message Broker stability

This commit is contained in:
Pinga 2025-02-06 14:40:28 +02:00
parent f6752b0d26
commit 82c8b27f69
7 changed files with 502 additions and 186 deletions

19
docs/msg_worker.service Normal file
View file

@ -0,0 +1,19 @@
[Unit]
Description=Message Worker Service
After=network.target
[Service]
Type=simple
User=root
Group=root
Restart=on-failure
ExecStart=/usr/bin/php /opt/registry/automation/msg_worker.php
ExecReload=/bin/kill -HUP $MAINPID
ExecStop=/bin/kill -INT $MAINPID
WorkingDirectory=/opt/registry/automation
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=msg_worker
[Install]
WantedBy=multi-user.target