overte-HifiExperiments/pkg-scripts/overte-ice-server.service

18 lines
486 B
Desktop File

[Unit]
Description=Ice Server service for Overte
After=network.target
PartOf=overte-server.target
[Service]
Restart=on-failure
Environment="HIFI_ENVIRONMENT=production" "LD_LIBRARY_PATH=/opt/overte/lib"
WorkingDirectory=/opt/overte
User=overte
Group=overte
#ExecStartPre=/bin/bash -c 'if /usr/bin/pgrep -l ice-server; then /usr/bin/pkill -SIGKILL -f /usr/share/hifi/ice-server/ice-server; fi'
#LimitCORE=infinity
ExecStart=/opt/overte/ice-server
[Install]
WantedBy=multi-user.target