vpnmanager/misc/celery.service

12 lines
246 B
Desktop File

[Unit]
Description=Celery Service
After=network.target
[Service]
User=vpn
Group=vpn
WorkingDirectory=/opt/vpnmanager
ExecStart=/bin/sh -c '/usr/local/bin/celery -A vpnmanager worker --concurrency=1 -l info'
[Install]
WantedBy=multi-user.target