Add systemd services and single-server deployment examples

This commit is contained in:
parkel committed 2026-11-21 01:05:09 +01:00
1 parent c20c41b2cd
commit 57e991ea2a
10 files changed
+306 -62

No files matched your search

+23
View File
@@ -0,0 +1,23 @@
[Unit]
Description=Coulobre Panel Celery worker
Wants=network-online.target
After=network-online.target mariadb.service rabbitmq-server.service
[Service]
Type=exec
User=coulobre-panel
Group=coulobre-panel
EnvironmentFile=/etc/coulobre/panel.env
WorkingDirectory=/opt/coulobre
UMask=0077
ExecStart=/opt/coulobre/bin/celery -A coulobre worker --loglevel=INFO --concurrency=2
KillMode=mixed
Restart=on-failure
RestartSec=5s
NoNewPrivileges=true
PrivateTmp=true
ProtectHome=true
ProtectSystem=strict
[Install]
WantedBy=multi-user.target