old.cfg + clean up
This commit is contained in:
parent
2948755a3b
commit
0e6197186e
@ -15,6 +15,7 @@
|
|||||||
## Modularity
|
## Modularity
|
||||||
- [ ] Break into separate files
|
- [ ] Break into separate files
|
||||||
- [ ] Firewall update
|
- [ ] Firewall update
|
||||||
|
- [ ] My players
|
||||||
- [ ] Base update
|
- [ ] Base update
|
||||||
- [ ] Mods update
|
- [ ] Mods update
|
||||||
- [ ] Service update
|
- [ ] Service update
|
||||||
@ -25,7 +26,6 @@
|
|||||||
|
|
||||||
## Eye candy
|
## Eye candy
|
||||||
- [ ] Comments
|
- [ ] Comments
|
||||||
- [ ] Updates on start
|
|
||||||
|
|
||||||
## Nice
|
## Nice
|
||||||
- [ ] do NOT store everything in repo
|
- [ ] do NOT store everything in repo
|
||||||
|
|||||||
@ -4,7 +4,7 @@ baseInstallLocation=/opt/velocity/
|
|||||||
baseUserName=velocity
|
baseUserName=velocity
|
||||||
dependenciesInstalled=yes #if set to no will do it
|
dependenciesInstalled=yes #if set to no will do it
|
||||||
systemdService=yes #if y > update, n > not
|
systemdService=yes #if y > update, n > not
|
||||||
autoUpdate=yes #work in progress
|
autoUpgrade=yes #work in progress
|
||||||
|
|
||||||
# Firewall
|
# Firewall
|
||||||
iptables=yes #to check if installed + install
|
iptables=yes #to check if installed + install
|
||||||
|
|||||||
33
install.sh
Executable file
33
install.sh
Executable file
@ -0,0 +1,33 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Stop systemD service
|
||||||
|
#
|
||||||
|
# apt update
|
||||||
|
# Git pull
|
||||||
|
#
|
||||||
|
# Differencies betwen install.cfg a install-old.cfg > found what work needs to be done
|
||||||
|
#
|
||||||
|
# depandencies install
|
||||||
|
# files
|
||||||
|
# user
|
||||||
|
#
|
||||||
|
# velocity.toml
|
||||||
|
#
|
||||||
|
# mods
|
||||||
|
#
|
||||||
|
# firewall
|
||||||
|
#
|
||||||
|
# systemD rm script + cp new
|
||||||
|
#
|
||||||
|
# Tailscale install
|
||||||
|
#
|
||||||
|
# chown velocity:velocity
|
||||||
|
#
|
||||||
|
# + all to rm
|
||||||
|
#
|
||||||
|
|
||||||
|
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)
|
||||||
25
install/old.cfg
Normal file
25
install/old.cfg
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
# Base informations
|
||||||
|
lastUpdateDate= #to version control
|
||||||
|
baseInstallLocation=no
|
||||||
|
baseUserName=no
|
||||||
|
dependenciesInstalled=no #if set to no will do it
|
||||||
|
systemdService=no #if y > update, n > not
|
||||||
|
autoUpgrade=no #work in progress
|
||||||
|
|
||||||
|
# Firewall
|
||||||
|
iptables=no #to check if installed + install
|
||||||
|
tailscale=no #to check if installed + install
|
||||||
|
sshRange=no # Ip range
|
||||||
|
|
||||||
|
# Mods
|
||||||
|
Ambassador=no #Forge support
|
||||||
|
ReWhitelist=no #Whitelist support
|
||||||
|
SkinResolver=no #Skins with offline mode
|
||||||
|
|
||||||
|
# Proxiing information
|
||||||
|
forwarding=no # modern/legacy #how to not set duble velocity.toml
|
||||||
|
forwardingSecret=no
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -1,21 +0,0 @@
|
|||||||
update, stop service,
|
|
||||||
|
|
||||||
- Depandencies install (+ iptables for firewall)
|
|
||||||
- Creating files + users
|
|
||||||
|
|
||||||
- Forwarding secret
|
|
||||||
|
|
||||||
- Firewall
|
|
||||||
- nonTailscale block "foo: [Tail/own/none]"
|
|
||||||
- own ssh range
|
|
||||||
|
|
||||||
- cp of mods and base
|
|
||||||
- for Forge
|
|
||||||
- for WhiteListing
|
|
||||||
- for Skins
|
|
||||||
|
|
||||||
- systemD (stupid update everytime rm + cp new)
|
|
||||||
|
|
||||||
- Tailscale install
|
|
||||||
|
|
||||||
- chown to velocity
|
|
||||||
20
script.sh
20
script.sh
@ -1,20 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# Git pull
|
|
||||||
# Differencies betwen install.cfg a install-old.cfg
|
|
||||||
|
|
||||||
# Stop systemD service
|
|
||||||
|
|
||||||
|
|
||||||
# Update or Upgrade ((idk))
|
|
||||||
|
|
||||||
printf "+ Updating your base system\n"
|
|
||||||
|
|
||||||
apt update && apt upgrade -y
|
|
||||||
|
|
||||||
|
|
||||||
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)
|
|
||||||
Loading…
x
Reference in New Issue
Block a user