37 lines
581 B
Bash
Executable File
37 lines
581 B
Bash
Executable File
#!/bin/bash
|
|
|
|
#stop service
|
|
systemctl stop mc-forge
|
|
|
|
#update system
|
|
apt update
|
|
|
|
|
|
#
|
|
# Differencies betwen install.cfg a install-old.cfg > found what work needs to be done
|
|
#
|
|
# If uninstall check for verification
|
|
#
|
|
# depandencies install
|
|
# files
|
|
# user
|
|
#
|
|
# velocity.toml
|
|
#
|
|
# mods
|
|
#
|
|
# firewall
|
|
#
|
|
# systemD rm script + cp new
|
|
#
|
|
# Tailscale install
|
|
#
|
|
# chown velocity:velocity
|
|
#
|
|
|
|
printf "\n Everythink is now set up. It is good idea to check these:"
|
|
printf "\n systemctl status mc-velocity"
|
|
printf "\n su velocity -s /bin/bash \n"
|
|
|
|
# Update install-old.cfg (date as version number)
|