infra/systemd/minecraft.socket
2022-07-13 13:06:26 +01:00

10 lines
202 B
SYSTEMD

[Unit]
BindsTo=minecraft.service
[Socket]
# Replace the following with correct values
ListenFIFO=/home/ubuntu/mc/minecraft.control
RemoveOnStop=true
SocketMode=0660
SocketUser=ubuntu
SocketGroup=ubuntu