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

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