systemd service

This commit is contained in:
2026-03-08 04:57:56 -04:00
parent 6a11f8e878
commit db11468d93
2 changed files with 26 additions and 1 deletions

View File

@@ -320,9 +320,9 @@ Complex auth systems tend to become an attack surface. Issues like leaked keys,
## Credits
- Inspired by DynamoDB
- Built with [Odin](https://odin-lang.org/)
- Powered by [RocksDB](https://rocksdb.org/)
- Inspired by DynamoDB and an [Old CockroachDB Article](https://www.cockroachlabs.com/blog/cockroachdb-on-rocksd/)
---

25
jormundb.service Normal file
View File

@@ -0,0 +1,25 @@
[Unit]
Description=JormunDB - DynamoDB-compatible database
Documentation=https://sweetapi.com/biondizzle/jormun-db
After=network.target
Wants=network.target
[Service]
Type=simple
User=root
# Binary location
ExecStart=/usr/local/bin/jormundb
# Environment
Environment=JORMUN_HOST=127.0.0.1
Environment=JORMUN_PORT=8002
Environment=JORMUN_DATA_DIR=/srv/jormundb/data
Environment=JORMUN_ACCESS_KEY=AKIAIOSFODNN7EXAMPLE
# Restart behavior
Restart=on-failure
RestartSec=5s
[Install]
WantedBy=multi-user.target