StuRa Diskussion:Server/SRS13/2015: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
etherpad-lite |
|||
| Zeile 1: | Zeile 1: | ||
== etherpad-lite == | == etherpad-lite ressourcen == | ||
* etherpad-lite allein ist schön schlank | * etherpad-lite allein ist schön schlank | ||
* abiword dazu ... das wird fett | * abiword dazu ... das wird fett | ||
[[Benutzer:JohannesSchneemann|JohannesSchneemann]] | [[Benutzer:JohannesSchneemann|JohannesSchneemann]] | ||
== ehterpad-lite ghetto rc script == | |||
* und nochmal: funzt, ist aber ''nicht standard konform'' ... eher ein hässlicher hack | |||
#!/bin/sh | |||
start(){ | |||
echo "staring etherpad-lite ..." >2& | |||
/home/etherpad-lite/etherpad-lite/bin/run.sh& | |||
echo "done" >2& | |||
} | |||
stop(){ | |||
echo "stopping ehterpad-lite ..." >2& | |||
kill `ps -a | grep "node server.js" | grep -v grep | awk '{print $1}'` | |||
echo "done" >2& | |||
} | |||
case "$1" in | |||
start) | |||
start | |||
;; | |||
stop) | |||
stop | |||
;; | |||
restart) | |||
stop | |||
start | |||
;; | |||
*) | |||
echo "USAGE: {start|stop|restart}" >2& | |||
exit 1 | |||
;; | |||
esac | |||
exit 0 | |||
Version vom 2. Oktober 2011, 12:49 Uhr
etherpad-lite ressourcen
- etherpad-lite allein ist schön schlank
- abiword dazu ... das wird fett
ehterpad-lite ghetto rc script
- und nochmal: funzt, ist aber nicht standard konform ... eher ein hässlicher hack
#!/bin/sh
start(){
echo "staring etherpad-lite ..." >2&
/home/etherpad-lite/etherpad-lite/bin/run.sh&
echo "done" >2&
}
stop(){
echo "stopping ehterpad-lite ..." >2&
kill `ps -a | grep "node server.js" | grep -v grep | awk '{print $1}'`
echo "done" >2&
}
case "$1" in
start)
start
;;
stop)
stop
;;
restart)
stop
start
;;
*)
echo "USAGE: {start|stop|restart}" >2&
exit 1
;;
esac
exit 0