* envuidgid only sets environment variables $UID and $GID causing electrum_server to fail at https://github.com/kyuupichan/electrumx/blob/master/electrumx_server.py#L35-L37 Replaced envuidgid with setuidgit which runs electrum_server with the specified uid/gid * Make run files executable
4 lines
122 B
Bash
Executable File
4 lines
122 B
Bash
Executable File
#!/bin/sh
|
|
echo "Launching ElectrumX server..."
|
|
exec 2>&1 envdir ./env /bin/sh -c 'setuidgid $USERNAME python3 $ELECTRUMX'
|