mirror of
https://github.com/DeBrosOfficial/orama.git
synced 2026-03-17 19:16:58 +00:00
34 lines
710 B
Desktop File
34 lines
710 B
Desktop File
[Unit]
|
|
Description=DeBros Namespace Olric Cache (%i)
|
|
Documentation=https://github.com/DeBrosOfficial/network
|
|
After=network.target debros-namespace-rqlite@%i.service
|
|
Requires=debros-namespace-rqlite@%i.service
|
|
PartOf=debros-node.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=debros
|
|
Group=debros
|
|
WorkingDirectory=/home/debros
|
|
|
|
# Olric reads config from environment variable (set in env file)
|
|
EnvironmentFile=/home/debros/.orama/data/namespaces/%i/olric.env
|
|
|
|
ExecStart=/home/debros/bin/olric-server
|
|
|
|
TimeoutStopSec=30s
|
|
KillMode=mixed
|
|
KillSignal=SIGTERM
|
|
|
|
Restart=on-failure
|
|
RestartSec=5s
|
|
|
|
StandardOutput=journal
|
|
StandardError=journal
|
|
SyslogIdentifier=debros-olric-%i
|
|
|
|
LimitNOFILE=65536
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|