mirror of
https://github.com/DeBrosOfficial/orama.git
synced 2026-03-17 12:26:58 +00:00
33 lines
788 B
Desktop File
33 lines
788 B
Desktop File
[Unit]
|
|
Description=DeBros Namespace Gateway (%i)
|
|
Documentation=https://github.com/DeBrosOfficial/network
|
|
After=network.target debros-namespace-rqlite@%i.service debros-namespace-olric@%i.service
|
|
Requires=debros-namespace-rqlite@%i.service debros-namespace-olric@%i.service
|
|
PartOf=debros-node.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=debros
|
|
Group=debros
|
|
WorkingDirectory=/home/debros
|
|
|
|
EnvironmentFile=/home/debros/.orama/data/namespaces/%i/gateway.env
|
|
|
|
ExecStart=/home/debros/bin/gateway --config /home/debros/.orama/data/namespaces/%i/configs/gateway-${NODE_ID}.yaml
|
|
|
|
TimeoutStopSec=30s
|
|
KillMode=mixed
|
|
KillSignal=SIGTERM
|
|
|
|
Restart=on-failure
|
|
RestartSec=5s
|
|
|
|
StandardOutput=journal
|
|
StandardError=journal
|
|
SyslogIdentifier=debros-gateway-%i
|
|
|
|
LimitNOFILE=65536
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|