# Install the binary and configuration first; create the livekit service user. # The service user must be able to read /etc/livekit/config.yaml and keys.yaml. [Unit] Description=Rust LiveKit-compatible RTC server Wants=network-online.target After=network-online.target [Service] Type=simple User=livekit Group=livekit ExecStart=/usr/local/bin/livecloud --config /etc/livekit/config.yaml Restart=on-failure RestartSec=3 KillSignal=SIGTERM TimeoutStopSec=90 LimitNOFILE=65536 NoNewPrivileges=true PrivateTmp=true ProtectSystem=strict ProtectHome=true [Install] WantedBy=multi-user.target