/etc/systemd/system/datasette.service
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Datasette | |
After=network.target | |
[Service] | |
Type=simple | |
User=dogsheep | |
Environment=DATASETTE_SECRET=... | |
Environment=SIMON_PASSWORD_HASH='pbkdf2_sha256$260000$...' | |
WorkingDirectory=/home/dogsheep | |
ExecStart=/home/dogsheep/datasette-venv/bin/datasette serve -h 127.0.0.1 -p 8000 \ | |
-m /home/dogsheep/metadata.yaml \ | |
--setting sql_time_limit_ms 20000 \ | |
--setting facet_time_limit_ms 5000 \ | |
--setting template_debug 1 \ | |
--setting force_https_urls 1 \ | |
beta.db twitter.db healthkit.db github.db swarm.db photos.db genome.db simonwillisonblog.db pocket.db \ | |
hacker-news.db memories.db | |
Restart=on-failure | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment