This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Minecraft server running under [ADDRESS]. | |
[Service] | |
WorkingDirectory=[PATH TO SERVER DIR] | |
ExecStart=/usr/bin/java -jar -Xmx3G [PATH TO SERVER JAR] | |
ExecStop=/bin/kill -s SIGINT -$MAINPID & /bin/kill -s SIGINT -$MAINPID | |
Restart=always | |
RestartSec=10 | |
StandardOutput=syslog |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function smbios(model) { | |
switch (model) { | |
case "MacBook1,1": | |
return "MacBook (13-inch, Mid 2006)"; | |
case "MacBook2,1": | |
return "MacBook (13-inch, Late 2006)"; | |
case "MacBook3,1": | |
return "MacBook (13-inch, Late 2007)"; | |
case "MacBook4,1": | |
return "MacBook (13-inch, Early 2008)"; |