mirror of
https://github.com/eliasstepanik/ark-ac-server-tools.git
synced 2026-01-13 03:18:28 +00:00
Log the command used to launch the server
This commit is contained in:
parent
17dd16a830
commit
d27eff2861
@ -466,6 +466,9 @@ doRun() {
|
||||
|
||||
# Auto-restart loop
|
||||
while [ $restartserver -ne 0 ]; do
|
||||
echo -n "`timestamp`: Running"
|
||||
printf " %q" "$arkserverroot/$arkserverexec" "$arkserveropts" "${arkextraopts[@]}"
|
||||
echo
|
||||
# Put the server process into the background so we can monitor it
|
||||
"$arkserverroot/$arkserverexec" "$arkserveropts" "${arkextraopts[@]}" &
|
||||
# Grab the server PID
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user