mirror of
https://github.com/ChocoTaco1/docker-tribesnext-server.git
synced 2026-01-20 00:24:49 +00:00
- Container no longer runs in root context, now switches to gameserv
user before launching server - Removed supervisord dependancy - Add (assumed) additional mod folders
This commit is contained in:
parent
445f18bbc3
commit
01f57ef00a
|
|
@ -18,8 +18,6 @@ sudo unzip \
|
|||
rsyslog \
|
||||
# -- utilities
|
||||
sed less vim file \
|
||||
# -- supervisor
|
||||
supervisor \
|
||||
# --- wine
|
||||
wine \
|
||||
# -- display
|
||||
|
|
@ -68,6 +66,8 @@ EXPOSE \
|
|||
666/tcp \
|
||||
28000/udp
|
||||
|
||||
COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf
|
||||
CMD ["/usr/bin/supervisord","-c","/etc/supervisor/conf.d/supervisord.conf"]
|
||||
USER ${SRVUSER}
|
||||
WORKDIR /home/${SRVUSER}
|
||||
|
||||
CMD ["./start-server"]
|
||||
|
||||
|
|
|
|||
0
_custom/Construction/scripts/autoexec/dummy
Normal file
0
_custom/Construction/scripts/autoexec/dummy
Normal file
0
_custom/FuryTV/scripts/autoexec/dummy
Normal file
0
_custom/FuryTV/scripts/autoexec/dummy
Normal file
0
_custom/Meltdown2/scripts/autoexec/dummy
Normal file
0
_custom/Meltdown2/scripts/autoexec/dummy
Normal file
0
_custom/Mousemod/scripts/autoexec/dummy
Normal file
0
_custom/Mousemod/scripts/autoexec/dummy
Normal file
0
_custom/Shifter/scripts/autoexec/dummy
Normal file
0
_custom/Shifter/scripts/autoexec/dummy
Normal file
0
_custom/Triumph/scripts/autoexec/dummy
Normal file
0
_custom/Triumph/scripts/autoexec/dummy
Normal file
0
_custom/tac/scripts/autoexec/dummy
Normal file
0
_custom/tac/scripts/autoexec/dummy
Normal file
0
_custom/variant/scripts/autoexec/dummy
Normal file
0
_custom/variant/scripts/autoexec/dummy
Normal file
|
|
@ -1,5 +0,0 @@
|
|||
[supervisord]
|
||||
nodaemon=true
|
||||
|
||||
[program:tribes2-server]
|
||||
command=/bin/su - gameserv -c /home/gameserv/start-server
|
||||
Loading…
Reference in a new issue