How to start a python script as a linux service

1, how to start the python script as a linux service and pass parameters with javaweb and post request.
httpPost (127.0.0.1 jsonParam)

Sep.16,2021

< H2 > server code < / H2 >

python-flask write

from flask import Flask
from flask import request
import json

@app.route("/" , methods=["POST"])
def hello_world():
    rev = request.json
    print(rev)
    return json.dumps( rev )



if __name__ == '__main__':
   app.run(
       host='192.168.80.132'
    )
< H2 > client code < / H2 >
  Django  

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3c72d-2b679.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3c72d-2b679.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?