Skip to content

Commit 03356b2

Browse files
authored
Fix Bedrock service type for detached screen (#63)
1 parent 683d5b8 commit 03356b2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

minecraft-bedrock.service

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ Wants=network-online.target
55
StartLimitIntervalSec=0
66

77
[Service]
8-
Type=simple
8+
# screen detaches from the invoking process, so let systemd know the service
9+
# will fork and manage the resulting screen session.
10+
Type=forking
911
User=minecraft
1012
Group=minecraft
1113
WorkingDirectory=/opt/minecraft-bedrock

0 commit comments

Comments
 (0)