2019-02-01 16:49:55 +00:00
|
|
|
[Unit]
|
|
|
|
Description=Celery Service
|
|
|
|
After=network.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
User=vpn
|
|
|
|
Group=vpn
|
|
|
|
WorkingDirectory=/opt/vpnmanager
|
2019-02-10 16:00:21 +00:00
|
|
|
ExecStart=/bin/sh -c '/usr/local/bin/celery -A vpnmanager worker --concurrency=1 -l info'
|
2019-02-01 16:49:55 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|