Skip to content

Commit 2e82e03

Browse files
create fifo in init
1 parent c2b2458 commit 2e82e03

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

scripts/init.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ mkdir -p /home/steam/.config
3838
chown -R steam:steam /home/steam/server-files
3939
chown -R steam:steam /home/steam/.local /home/steam/.config
4040

41+
mkfifo /tmp/romestead-stdin
42+
chmod 666 /tmp/romestead-stdin
43+
4144
su - steam -c "cd /home/steam/server && ./start.sh" &
4245
killpid="$!"
4346

scripts/start.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ mkdir -p /home/steam/.local/share/GameAnalytics
99
export LD_LIBRARY_PATH="/home/steam/server-files:/home/steam/server-files/linux64:${LD_LIBRARY_PATH}"
1010

1111
FIFO=/tmp/romestead-stdin
12-
mkfifo "$FIFO"
13-
chmod 622 "$FIFO"
1412

1513
LogAction "Starting Romestead Dedicated Server"
1614

0 commit comments

Comments
 (0)