Skip to content

Commit

Permalink
add support for custom post-install scripts (#400)
Browse files Browse the repository at this point in the history
* add support for custom post-install scripts

* Simplify changes, make more consistent with rest of codebase
  • Loading branch information
AGhost-7 committed Jun 29, 2021
1 parent 3ce2b65 commit 3ec5028
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/scripts/start_valheim.sh
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,11 @@ if [ ! "${TYPE}" = "vanilla" ]; then
done
fi

if [ -d "/valheim-post-install.d/" ]; then
log "Executing post-install scripts"
find /valheim-post-install.d/ -type f -executable -exec {} \;
fi

if [ -n "${HTTP_PORT}" ]; then
huginn &
export ODIN_HTTP_SERVER_PID=$!
Expand Down

0 comments on commit 3ec5028

Please sign in to comment.