systemctl restart datasette.service, closes #1390

This commit is contained in:
Simon Willison 2021-07-09 09:32:32 -07:00 committed by GitHub
commit c8feaf0b62
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -65,7 +65,11 @@ You can start the Datasette process running using the following::
sudo systemctl daemon-reload
sudo systemctl start datasette.service
You can confirm that Datasette is running on port 8000 like so::
You may need to restart the Datasette service after making changes to its ``metadata.json`` configuration or the ``datasette.service`` file. You can do that using::
sudo systemctl restart datasette.service
Once the service has started you can confirm that Datasette is running on port 8000 like so::
curl 127.0.0.1:8000/-/versions.json
# Should output JSON showing the installed version