Skip to content

Latest commit

 

History

History
20 lines (20 loc) · 606 Bytes

File metadata and controls

20 lines (20 loc) · 606 Bytes

python-systemd-http-server

A simple Python HTTP Server that serves static content and can be deployed as a Systemd Service

Running as a Systemd Service

  • In the Service File, change the User property to the user that is going to be running the server, the default is jenkins:
     [Service]
     User=jenkins
    
  • Install the server
     sudo make install
  • Start the Server with systemctl
     sudo systemctl start python-systemd-http-server
  • The server can be accessed on the default port of 9000:
     http://localhost:9000