Files
coulobre/deploy/systemd/coulobre-provisioner.service
T

26 lines
747 B
Desktop File
Raw Normal View History

[Unit]
Description=Coulobre Panel local web activation worker
Requires=coulobre-web-apply.socket
Wants=network-online.target
After=network-online.target coulobre-web-apply.socket mariadb.service rabbitmq-server.service
[Service]
Type=exec
User=coulobre-provisioner
Group=coulobre-provisioner
SupplementaryGroups=coulobre-web-provisioning
EnvironmentFile=/etc/coulobre/panel.env
WorkingDirectory=/opt/coulobre
UMask=0077
ExecStart=/opt/coulobre/bin/celery -A coulobre worker --loglevel=INFO --queues=coulobre-web-activation --hostname=provisioner@%H --concurrency=1
KillMode=mixed
TimeoutStopSec=4min
Restart=on-failure
RestartSec=5s
NoNewPrivileges=true
PrivateTmp=true
ProtectHome=true
ProtectSystem=strict
[Install]
WantedBy=multi-user.target