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

+24
View File
@@ -0,0 +1,24 @@
[Unit]
Description=Coulobre Panel Celery scheduler
Wants=network-online.target
After=network-online.target rabbitmq-server.service
[Service]
Type=exec
User=coulobre-panel
Group=coulobre-panel
EnvironmentFile=/etc/coulobre/panel.env
WorkingDirectory=/opt/coulobre
StateDirectory=coulobre-panel
StateDirectoryMode=0700
UMask=0077
ExecStart=/opt/coulobre/bin/celery -A coulobre beat --loglevel=INFO --schedule=/var/lib/coulobre-panel/beat-schedule --pidfile=
Restart=on-failure
RestartSec=5s
NoNewPrivileges=true
PrivateTmp=true
ProtectHome=true
ProtectSystem=strict
[Install]
WantedBy=multi-user.target