Add a Systemd service unit file for the server

This commit is contained in:
2025-11-19 12:54:44 -06:00
parent 41ca417386
commit 9dbd3d953e

14
debian/boids-web.service vendored Normal file
View File

@@ -0,0 +1,14 @@
[Unit]
Description=A website hosting a WASM build of Boids
After=network.target
[Service]
Type=simple
ExecStart=/usr/bin/env python3 -m http.server -d /usr/share/boids 8000
Restart=never
User=nobody
Group=nobody
WorkingDirectory=/usr/share/boids
[Install]
WantedBy=multi-user.target