claude go reimplement
This commit is contained in:
1 parent
4bcb924158
commit
f523c79618
83 files changed
+3714
-3454
No files matched your search
Vendored
+19
@@ -0,0 +1,19 @@
|
||||
[Unit]
|
||||
Description=KJV API endpoint at localhost port 1611
|
||||
|
||||
# A systemd user service, no root needed. It runs ~/kjv-api/kjv-api with the
|
||||
# database next to it. Install with:
|
||||
# mkdir -p ~/.config/systemd/user && cp kjv-api.service ~/.config/systemd/user/
|
||||
# systemctl --user daemon-reload && systemctl --user enable --now kjv-api
|
||||
# sudo loginctl enable-linger $USER (keeps it running while logged out, and starts it at boot)
|
||||
|
||||
[Service]
|
||||
ExecStart=%h/kjv-api/kjv-api -db %h/kjv-api/kjv.db -addr 127.0.0.1:1611
|
||||
# Optional settings (KJV_SECRET_API_KEY, KJV_SERMON_DB, KJV_SEMANTIC_ADDR), one NAME=value per line
|
||||
EnvironmentFile=-%h/kjv-api/kjv-api.env
|
||||
Restart=on-failure
|
||||
NoNewPrivileges=yes
|
||||
UMask=0077
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
Reference in new issue
Block a user