Create screen setup script

And screen config
This commit is contained in:
Chromachine 2019-01-08 13:50:39 +00:00
parent b3a002a6cc
commit f9bd469715
No known key found for this signature in database
GPG key ID: E3A2A1CAA522AE6E
4 changed files with 37 additions and 3 deletions

View file

@ -910,3 +910,23 @@ users:
- member - member
options: options:
name: SheepMaster69 name: SheepMaster69
317cb681-1d31-4008-a60f-a469fd32f36d:
group:
- member
options:
name: Nkashp
bef17bd4-b9e2-4cbc-94fd-be73ae982f7d:
group:
- member
options:
name: soFruity
50205f95-ad47-4d36-ba6c-aa22911f3c3b:
group:
- member
options:
name: JamesDaGFx
af7c1643-4f9e-4b04-8331-6af3c5185237:
group:
- member
options:
name: HasMerryInternet

View file

@ -2,9 +2,9 @@
issues: "https://github.com/IntellectualSites/PlotSquared/issues" issues: "https://github.com/IntellectualSites/PlotSquared/issues"
suggestion: "https://github.com/IntellectualSites/PlotSquaredSuggestions" suggestion: "https://github.com/IntellectualSites/PlotSquaredSuggestions"
wiki: "https://github.com/IntellectualSites/PlotSquared/wiki" wiki: "https://github.com/IntellectualSites/PlotSquared/wiki"
date: "15 Dec 2018 00:00:00 GMT" date: "26 Jan 2019 00:00:00 GMT"
build: "https://ci.athion.net/job/PlotSquared/2052" build: "https://ci.athion.net/job/PlotSquared/2060"
commit: "https://github.com/IntellectualSites/PlotSquared/commit/252cf7" commit: "https://github.com/IntellectualSites/PlotSquared/commit/e3192f0"
platform: "Bukkit" platform: "Bukkit"
# Show additional information in console # Show additional information in console
debug: true debug: true

8
Server/screenconf Normal file
View file

@ -0,0 +1,8 @@
source /etc/screenrc
multiuser on
aclchg norbipeti +rwx "#?" # acladd
aclchg iie +rwx "#?"
aclchg ghostise +rwx "#?"
aclchg figytuna +rwx "#?"
# detach - for some reason it doesn't color the terminal if I detach automatically in any way

6
Server/setup.sh Executable file
View file

@ -0,0 +1,6 @@
# sudo screen -S servertest -t "Main Server" -c screenconf -d -m -s bash
# sudo screen -S devtest -t "Dev Server" -c screenconf -d -m -s bash
sudo screen -S servertest -t "Main Server" -c screenconf sh -c 'echo Main Server; cd /minecraft/main; exec bash'
sudo screen -S devtest -t "Dev Server" -c screenconf sh -c 'echo Dev Server; cd /minecraft/dev; exec bash'