File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -71,9 +71,11 @@ if [ "x$1" == "xstart" ]; then
7171 echo " Server started with php -S $remoteserverlistenip :$remoteserverlistenport -t remote_server $abc "
7272
7373 echo " Logs of server will be in /var/log/remote_server.log"
74+ echo " Server for deployment agent started - $now " >> /var/log/remote_server.log
7475 else
7576 echo Server is already running with PID $pid
7677 fi
78+ echo
7779fi
7880
7981if [ " x$1 " == " xstop" ]; then
@@ -85,7 +87,9 @@ if [ "x$1" == "xstop" ]; then
8587 else
8688 echo Launch kill to stop server with PID $pid
8789 kill $pid
90+ echo " Server for deployment agent stopped - $now " >> /var/log/remote_server.log
8891 fi
92+ echo
8993fi
9094
9195if [ " x$1 " == " xstatus" ]; then
@@ -97,4 +101,5 @@ if [ "x$1" == "xstatus" ]; then
97101 else
98102 echo Server run with PID $pid
99103 fi
104+ echo
100105fi
You can’t perform that action at this time.
0 commit comments