aboutsummaryrefslogtreecommitdiff
path: root/systemd/daphne.service
blob: 026ed28c306526cd23ead542c91adacee9698643 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[Unit]
Description=That Computer Scientist Daphne Service
After=network.target

[Service]
Type=simple
User=ubuntu
Restart=always
RestartSec=5
KillMode=mixed
KillSignal=SIGKILL
TimeoutStopSec=5
WorkingDirectory=/home/ubuntu/thatcomputerscientist
ExecStart=/home/ubuntu/thatcomputerscientist/venv/bin/daphne -b 127.0.0.1 -p 8080 --websocket_timeout 600 -t 300 --proxy-headers --ping-interval 10 --ping-timeout 30 thatcomputerscientist.asgi:application

[Install]
WantedBy=multi-user.target