6 lines
201 B
Plaintext
6 lines
201 B
Plaintext
|
#!/bin/bash
|
||
|
[[ ! $1 ]] && echo "no app set, usage restart <nodered app>" && exit
|
||
|
SDIR=$(cd $(dirname $(readlink -f "$0")) >/dev/null 2>&1 ; pwd -P)
|
||
|
source $SDIR/stop $editor
|
||
|
source $SDIR/start $editor
|