forked from Sophia/thelinuxlist
new scripts and updates
This commit is contained in:
@ -16,7 +16,12 @@ do
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
if [ ! -x /usr/bin/curl ] ; then
|
||||
CURL_NOT_EXIST=1
|
||||
apt install -y curl
|
||||
else
|
||||
CURL_NOT_EXIST=0
|
||||
fi
|
||||
NODE_LTS= "18.12.1"
|
||||
sudo apt update && apt upgrade -y
|
||||
sudo apt install postgresql postgresql-contrib ffmpeg redis-server npm yarn -y
|
||||
@ -46,7 +51,7 @@ sed -e "s|user: example-misskey-pass = ''user: = '$PASSWD_GEN'|" >> .config/def
|
||||
NODE_ENV=production yarn build
|
||||
yarn run init
|
||||
exit
|
||||
sudo wget -O /etc/systemd/system/misskey.service https://git.oldgate.org/Sophia/thelinuxlist/raw/branch/main/systemd/misskey.service
|
||||
curl -fsSL -o "/etc/systemd/system/misskey.service" https://git.oldgate.org/Sophia/thelinuxlist/raw/branch/main/systemd/misskey.service
|
||||
sudo systemctl daemon-reload
|
||||
sudo systemctl enable misskey.service
|
||||
sudo systemctl start misskey.service
|
||||
|
Reference in New Issue
Block a user