Python => python3
This commit is contained in:
@@ -29,7 +29,7 @@ fi
|
||||
|
||||
if [[ "$1" == "stop" ]]
|
||||
then
|
||||
killall python &> /dev/null
|
||||
killall python3 &> /dev/null
|
||||
rm /tmp/Monithor* &> /dev/null
|
||||
touch /tmp/endmonitor
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
pushd /var/www/html/monithor
|
||||
source /usr/local/bin/monithor-client.d/MoniThorFnct
|
||||
python -m SimpleHTTPServer ${1} &
|
||||
python3 -m http.server ${1} &
|
||||
|
||||
|
||||
echo '<html>
|
||||
|
||||
Reference in New Issue
Block a user