Commit initial: GNUWorld servicii IRC cu README.md complet in limba romana - Analiza arhitecturala completa a proiectului - Documentatie ierarhie clase, bucla de evenimente, protocol P10 - Identificare probleme memorie si recomandari modernizare
This commit is contained in:
commit
fcb24f6de9
870 files changed
+311128
No files matched your search
@@ -0,0 +1,2 @@
|
||||
checkgnuworld.sh
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
#!/bin/sh
|
||||
|
||||
PIDFILE=@prefix@/bin/gnuworld.pid
|
||||
PID=`cat $PIDFILE`
|
||||
GNUWORLDARGS=""
|
||||
|
||||
if [ -f $PIDFILE ] ; then
|
||||
if kill -0 $PID ; then
|
||||
RUNNING="1"
|
||||
else
|
||||
echo "GNUWorld is not running - starting..."
|
||||
@prefix@/bin/gnuworld $GNUWORLDARGS
|
||||
|
||||
fi
|
||||
else
|
||||
echo "GNUWorld is not running (no PID file) - starting..."
|
||||
@prefix@/bin/gnuworld $GNUWORLDARGS
|
||||
fi
|
||||
|
||||
Reference in new issue
Block a user