mirror of
https://github.com/DeBrosOfficial/orama-vault.git
synced 2026-03-17 03:53:01 +00:00
27 lines
535 B
Desktop File
27 lines
535 B
Desktop File
[Unit]
|
|
Description=Orama Vault Guardian
|
|
Documentation=https://github.com/orama-network/debros
|
|
After=network.target
|
|
PartOf=orama-node.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
ExecStart=/opt/orama/bin/vault-guardian --config /opt/orama/.orama/data/vault/vault.yaml
|
|
Restart=on-failure
|
|
RestartSec=5s
|
|
|
|
# Security hardening
|
|
PrivateTmp=yes
|
|
ProtectSystem=strict
|
|
ReadWritePaths=/opt/orama/.orama/data/vault
|
|
NoNewPrivileges=yes
|
|
|
|
# Allow mlock for secure memory
|
|
LimitMEMLOCK=67108864
|
|
|
|
# Resource limits
|
|
MemoryMax=512M
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|