overte-HifiExperiments/pkg-scripts/overte-assignment-client@.service

20 lines
565 B
Desktop File

[Unit]
Description=Assignment client service for the Overte server
After=network.target
PartOf=overte-server@%i.target
[Service]
Restart=always
WorkingDirectory=/opt/overte
EnvironmentFile=/etc/opt/overte/%i.conf
Environment="LD_LIBRARY_PATH=/opt/overte/lib" "HOME=/var/lib/overte/%i"
PrivateTmp=true
User=overte
Group=overte
#LimitCORE=infinity
#ExecStart=/opt/overte/assignment-client -n 6
ExecStart=/opt/overte/assignment-client --min 6 --max 20 --server-port $HIFI_DOMAIN_SERVER_PORT --disable-domain-port-auto-discovery
[Install]
WantedBy=multi-user.target