15 lines
341 B
Desktop File
15 lines
341 B
Desktop File
[Unit]
|
|
Description=WebSocket Daphne Service for PORTAL_COD2-t
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=root
|
|
#Group = nginx
|
|
WorkingDirectory=/var/www/PORTAL_COD2
|
|
ExecStart=/var/www/PORTAL_COD2/env/bin/python /var/www/PORTAL_COD2/env/bin/daphne -p 9967 portal.asgi:application
|
|
Restart=on-failure
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|