Use 'www-data' user & group for webserver
This commit is contained in:
4
debian/another-boids-in-rust.service
vendored
4
debian/another-boids-in-rust.service
vendored
@@ -6,8 +6,8 @@ After=network.target
|
|||||||
Type=simple
|
Type=simple
|
||||||
ExecStart=/usr/bin/env python3 -m http.server -d /usr/share/boids 8000
|
ExecStart=/usr/bin/env python3 -m http.server -d /usr/share/boids 8000
|
||||||
Restart=never
|
Restart=never
|
||||||
User=nobody
|
User=www-data
|
||||||
Group=nobody
|
Group=www-data
|
||||||
WorkingDirectory=/usr/share/boids
|
WorkingDirectory=/usr/share/boids
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|||||||
Reference in New Issue
Block a user