bin/zulip: add
This commit is contained in:
parent
7b0142dcee
commit
61e8b3ad09
|
@ -0,0 +1,10 @@
|
|||
#!/bin/sh
|
||||
# Execute commands on a zulip server
|
||||
zulipdepl="/home/zulip/deployments/current"
|
||||
sudo su zulip -c "$(
|
||||
scr="$zulipdepl/scripts/$1"
|
||||
if test -f "$scr"
|
||||
then shift && echo "$scr $@"
|
||||
else echo "$zulipdepl/manage.py $@"
|
||||
fi
|
||||
)"
|
Loading…
Reference in New Issue