[UPDATE] - add debian package and rebuild

This commit is contained in:
2022-03-16 23:42:35 +00:00
parent 6cacea01ba
commit 69069c5919
20 changed files with 368 additions and 0 deletions
+37
View File
@@ -0,0 +1,37 @@
#! /bin/sh
### BEGIN INIT INFO
# Provides: monithor-d
# Default-Start: 2 3 4 5
# Default-Stop:
# Short-Description: MoniThor Server
### END INIT INFO
set -e
test -x /usr/local/bin/monithor-server || exit 0
umask 022
case "$1" in
start)
if [ ! -z $(ps axf| grep monithor-server | grep -v grep) ]
then
logger "monithor-server is running ..."
else
logger "Starting MoniThor Server"
/usr/local/bin/monithor-server start
fi
;;
stop)
logger "Stoping MoniThor server" "monithor-d" || true
/usr/local/bin/monithor-server stop
;;
*)
echo "Usage: /etc/init.d/monithor-d {start|stop|status}" || true
exit 1
esac
exit 0
@@ -0,0 +1,5 @@
LocalIp=127.0.0.1
LocalPort=8080
#########
Crypted=no
LocalPassword='Evil@MonitoR-666'
@@ -0,0 +1,3 @@
network#ip.sh
file#file-present.sh