summarylogtreecommitdiffstats
path: root/minecraft-bedrock-server.service
blob: cd089e5d67160cbfc6adb63bd2cc326b23dcc12f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[Unit]
Description=The Minecraft Server
After=network-online.target

[Service]
Type=simple
User=minecraft-bedrock
Group=minecraft-bedrock
WorkingDirectory=/opt/minecraft-bedrock-server
Environment="LD_LIBRARY_PATH=."
ExecStart=/opt/minecraft-bedrock-server/bedrock_server
Restart=on-failure

[Install]
WantedBy=multi-user.target