{"html_url": "https://github.com/simonw/datasette/issues/514#issuecomment-505061703", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/514", "id": 505061703, "node_id": "MDEyOklzc3VlQ29tbWVudDUwNTA2MTcwMw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2019-06-24T15:31:25Z", "updated_at": "2019-06-24T15:31:25Z", "author_association": "OWNER", "body": "I'm suspicious of the wildcard. Does it work if you do the following?\r\n\r\n ExecStart=/home/chris/Env/datasette/bin/datasette serve -h 0.0.0.0 /home/chris/digital-library/databases/actual-database.db --cors --metadata /home/chris/digital-library/metadata.json\r\n\r\nIf that does work then it means the ExecStart line doesn't support bash wildcard expansion. You'll need to create a separate script like this:\r\n\r\n```\r\n#!/bin/bash\r\n/home/chris/Env/datasette/bin/datasette serve -h 0.0.0.0 /home/chris/digital-library/databases/*.db --cors --metadata /home/chris/digital-library/metadata.json\r\n```\r\n\r\nThen save that as `/home/chris/digital-library/run-datasette.sh` and try this:\r\n\r\n ExecStart=/home/chris/digital-library/run-datasette.sh", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 459397625, "label": "Documentation with recommendations on running Datasette in production without using Docker"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/514#issuecomment-504998302", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/514", "id": 504998302, "node_id": "MDEyOklzc3VlQ29tbWVudDUwNDk5ODMwMg==", "user": {"value": 7936571, "label": "chrismp"}, "created_at": "2019-06-24T12:57:19Z", "updated_at": "2019-06-24T12:57:19Z", "author_association": "NONE", "body": "Same error when I used the full path.\n\nOn Sun, Jun 23, 2019 at 18:31 Simon Willison \nwrote:\n\n> I suggest trying a full path in ExecStart like this:\n>\n> ExecStart=/home/chris/Env/datasette/bin/datasette serve -h 0.0.0.0\n> /home/chris/digital-library/databases/*.db --cors --metadata metadata.json\n>\n> That should eliminate the chance of some kind of path confusion.\n>\n> \u2014\n> You are receiving this because you authored the thread.\n> Reply to this email directly, view it on GitHub\n> ,\n> or mute the thread\n> \n> .\n>\n-- \n*Chris Persaud*\nChrisPersaud.com\n", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 459397625, "label": "Documentation with recommendations on running Datasette in production without using Docker"}, "performed_via_github_app": null}