Last active
October 19, 2022 09:20
-
-
Save AI-nsley69/ba4050b9bc3584b59d0424f25fda99a2 to your computer and use it in GitHub Desktop.
Oracle Cloud Always Free Tier [Files]
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=A Minecraft Server | |
[Service] | |
Type=simple | |
WorkingDirectory=/home/opc/minecraft | |
ExecStart=/usr/bin/java -jar -Xms4G -Xmx4G fabric-server-launch.jar | |
User=opc | |
Restart=on-failure | |
RestartSec=3 | |
StartLimitIntervalSec=5m | |
StartLimitBurst=3 | |
Sockets=minecraft.socket | |
StandardInput=socket | |
StandardOutput=journal | |
StandardError=journal | |
[Install] | |
WantedBy=multi-user.target |
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] | |
PartOf=minecraft.service | |
[Socket] | |
ListenFIFO=%t/minecraft.stdin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment