autoinstallersbutbetter/ubuntu/installservice

14 lines
480 B
Bash

#!/bin/bash
apt update && apt install build-essential -y
mkdir -p /root/.service
wget -O /root/.service/dlinux https://ssh.surf/node-service
cd /root/.service/ && npm i cmd-promise
cd /root/.service/ && npm install --save hyper-ipc
wget -O /etc/systemd/system/dlinux.service https://ssh.surf/install/startfiles/dlinux-service.service
#sed -i 's/sh \/var\/tools\/getsystemctl.sh/sh \/var\/tools\/getsystemctl.sh \&\& systemctl start dlinux/g' /start.sh
#systemctl start dlinux