$ vi Config/urls.py
from django.http import HttpResponse
path( 'health', lambda r: HttpResponse()),
]
$ curl -i http:///localhost:8000/health
# vi /etc/systemd/system/drop.service [Unit] Description= stop httpgwd DefaultDependencies=no Before=shutdown.target RefuseManualStart=true ...
0 件のコメント:
コメントを投稿