8
This commit is contained in:
9
beispiele/8/hello-web.service
Normal file
9
beispiele/8/hello-web.service
Normal file
@@ -0,0 +1,9 @@
|
||||
[Unit]
|
||||
Description=Simple WSGI Server
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/home/USERNAME-HIER-EINSETZEN/hello-web.sh
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
2
beispiele/8/hello-web.sh
Normal file
2
beispiele/8/hello-web.sh
Normal file
@@ -0,0 +1,2 @@
|
||||
#!/bin/bash
|
||||
cd /home/; python3 -m http.server 8082
|
Reference in New Issue
Block a user