github.com/mysteriumnetwork/node@v0.0.0-20240516044423-365054f76801/bin/package/iot-hotspot/setup_provider (about)

     1  #!/bin/bash
     2  
     3  mkdir /tmp/myst-inst
     4  cd /tmp/myst-inst
     5  
     6  wget https://github.com/mysteriumnetwork/node/releases/latest/download/myst_linux_arm.tar.gz
     7  
     8  tar -xzvf myst_linux_arm.tar.gz
     9  cp myst /usr/bin/myst
    10  
    11  wget https://raw.githubusercontent.com/mysteriumnetwork/node/features/iot-scripts/bin/package/iot-hostspot/mysterium-node.service
    12  cp mysterium-node.service /etc/systemd/system
    13  cd ..
    14  rm -r /tmp/myst-inst
    15  
    16  adduser --system --group myst
    17  systemctl start mysterium-node.service