Skip to content

mark-lightfoot/python-systemd-http-server

Repository files navigation

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

About

Python HTTP Server on Systemd

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors