13 lines
230 B
SYSTEMD
13 lines
230 B
SYSTEMD
|
[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 -l info'
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|