Python => python3
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
Package: monithor-client
|
||||
Version: 1.0
|
||||
Architecture: all
|
||||
Dependsd:netcat,cryptcat,screen,python,netcat,cryptcat,elinks
|
||||
Dependsd:netcat,cryptcat,screen,python3,netcat,cryptcat,elinks
|
||||
Maintainer: Guillaume Astier <guillaume@gastier.net>
|
||||
Description: monithor client (with simple http server python)
|
||||
Description: monithor client (with simple http server python3)
|
||||
|
||||
@@ -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