Update files
parent
e5a69f276a
commit
e328b3f6a6
|
@ -0,0 +1 @@
|
|||
.cs2.env
|
|
@ -32,6 +32,7 @@ RUN set -x \
|
|||
# Add entry script
|
||||
&& chmod +x "${HOMEDIR}/entry.sh" \
|
||||
&& chown -R "${USER}:${USER}" "${HOMEDIR}/entry.sh" "${STEAMAPPDIR}" \
|
||||
&& chmod -R +x /etc/post /etc/pre \
|
||||
# Clean up
|
||||
&& apt-get clean \
|
||||
&& find /var/lib/apt/lists/ -type f -delete
|
||||
|
|
|
@ -28,6 +28,7 @@ sed -i -e "s/hostname.*/hostname ${CS2_SERVERNAME}/g" "${STEAMAPPDIR}"/game/csgo
|
|||
if [[ ! -f "${STEAMAPPDIR}/pre.sh" ]] ; then
|
||||
cp /etc/pre.sh "${STEAMAPPDIR}/pre.sh"
|
||||
fi
|
||||
|
||||
if [[ ! -f "${STEAMAPPDIR}/post.sh" ]] ; then
|
||||
cp /etc/post.sh "${STEAMAPPDIR}/post.sh"
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue