mirror of
https://github.com/DeBrosOfficial/orama.git
synced 2026-03-27 16:04:13 +00:00
32 lines
585 B
Desktop File
32 lines
585 B
Desktop File
[Unit]
|
|
Description=Orama Namespace TURN (%i)
|
|
Documentation=https://github.com/DeBrosOfficial/network
|
|
After=network.target
|
|
PartOf=orama-node.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
WorkingDirectory=/opt/orama
|
|
|
|
EnvironmentFile=/opt/orama/.orama/data/namespaces/%i/turn.env
|
|
|
|
ExecStart=/bin/sh -c 'exec /opt/orama/bin/turn --config ${TURN_CONFIG}'
|
|
|
|
TimeoutStopSec=30s
|
|
KillMode=mixed
|
|
KillSignal=SIGTERM
|
|
|
|
Restart=on-failure
|
|
RestartSec=5s
|
|
|
|
StandardOutput=journal
|
|
StandardError=journal
|
|
SyslogIdentifier=orama-turn-%i
|
|
|
|
PrivateTmp=yes
|
|
LimitNOFILE=65536
|
|
MemoryMax=1G
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|