25 lines
603 B
Desktop File
25 lines
603 B
Desktop File
[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
|