systemd service
This commit is contained in:
@@ -320,9 +320,9 @@ Complex auth systems tend to become an attack surface. Issues like leaked keys,
|
|||||||
|
|
||||||
## Credits
|
## Credits
|
||||||
|
|
||||||
- Inspired by DynamoDB
|
|
||||||
- Built with [Odin](https://odin-lang.org/)
|
- Built with [Odin](https://odin-lang.org/)
|
||||||
- Powered by [RocksDB](https://rocksdb.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
25
jormundb.service
Normal 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
|
||||||
Reference in New Issue
Block a user