Rename service unit file to match package name
So that debhelper automatically installs it for me, instead of adding my own install target.
This commit is contained in:
14
debian/another-boids-in-rust.service
vendored
Normal file
14
debian/another-boids-in-rust.service
vendored
Normal 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
|
||||
Reference in New Issue
Block a user