[Unit] Description=pyHttp Server Service After=network.target [Service] Type=simple User=root Restart=always RestartSec=3s ExecStart=/var/www/main [Install] WantedBy=multi-user.target