mirror of
https://github.com/eliasstepanik/ark-ac-server-tools.git
synced 2026-01-26 08:18:27 +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
|
# Auto-restart loop
|
||||||
while [ $restartserver -ne 0 ]; do
|
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
|
# Put the server process into the background so we can monitor it
|
||||||
"$arkserverroot/$arkserverexec" "$arkserveropts" "${arkextraopts[@]}" &
|
"$arkserverroot/$arkserverexec" "$arkserveropts" "${arkextraopts[@]}" &
|
||||||
# Grab the server PID
|
# Grab the server PID
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user