Update all new server scripts

This commit is contained in:
2023-09-06 13:56:08 +02:00
parent a7ed28ff02
commit b0310e14c7
18 changed files with 236 additions and 45 deletions

View File

@@ -0,0 +1,11 @@
[Unit]
Description=SocatIpProxies
After=network.target
[Service]
Type=simple
Restart=always
RestartSec=10
User=root
ExecStart=/bin/sh -c /Main/Server/SocatIpProxies.sh
[Install]
WantedBy=multi-user.target

6
Server/Root/etc/systemd/system/SpaccCraft.service Normal file → Executable file
View File

@@ -1,5 +1,5 @@
[Unit]
Description=spacccraft
Description=SpaccCraft
After=network.target
StartLimitIntervalSec=0
[Service]
@@ -8,7 +8,7 @@ Restart=always
RestartSec=10
#CPUQuota=75%
#MemoryMax=384M
User=pi
ExecStart=script /dev/null -c "export TERM=vt100; screen -S SpaccCraft sh /Server/SpaccCraft/StartSpaccCraft.sh"
User=SpaccCraft
ExecStart=/usr/bin/script /dev/null -c "export TERM=vt100; screen -S SpaccCraft sh /Main/Server/SpaccCraft/StartSpaccCraft.sh"
[Install]
WantedBy=multi-user.target

View File

@@ -0,0 +1,11 @@
[Unit]
Description=Windows 7 Earnapp 1 VM
After=network.target
[Service]
Type=simple
Restart=always
RestartSec=10
User=root
ExecStart=/bin/sh -c /Main/Server/VMs/Windows7Earnapp1.sh
[Install]
WantedBy=multi-user.target

View File

@@ -0,0 +1,11 @@
[Unit]
Description=Windows Server 2022 VM
After=network.target
[Service]
Type=simple
Restart=always
RestartSec=10
User=root
ExecStart=/bin/sh -c /Main/Server/VMs/WindowsServer2022.sh
[Install]
WantedBy=multi-user.target