mirror of
https://github.com/overte-org/overte.git
synced 2025-04-26 23:56:22 +02:00
13 lines
No EOL
529 B
Text
13 lines
No EOL
529 B
Text
[Unit]
|
|
Description=Domain Server service for High Fidelity
|
|
After=network.target
|
|
[Service]
|
|
Restart=on-failure
|
|
|
|
WorkingDirectory=/usr/share/hifi/domain-server
|
|
Environment="LD_LIBRARY_PATH=/usr/share/hifi/domain-server/"
|
|
|
|
ExecStartPre=/bin/bash -c 'if /usr/bin/pgrep -l domain-server; then /usr/bin/pkill -SIGKILL -f /usr/share/hifi/domain-server/domain-server; fi'
|
|
ExecStart=/bin/bash -c 'ulimit -c unlimited; /usr/share/hifi/domain-server/domain-server 2>&1 >> /var/log/hifi/domain-server.log'
|
|
[Install]
|
|
WantedBy=multi-user.target |