summaryrefslogtreecommitdiff
path: root/rel/pleroma_ctl
diff options
context:
space:
mode:
Diffstat (limited to 'rel/pleroma_ctl')
-rwxr-xr-xrel/pleroma_ctl5
1 files changed, 5 insertions, 0 deletions
diff --git a/rel/pleroma_ctl b/rel/pleroma_ctl
new file mode 100755
index 000000000..543b742b9
--- /dev/null
+++ b/rel/pleroma_ctl
@@ -0,0 +1,5 @@
+#!/bin/sh
+# XXX: This should be removed when elixir's releases get custom command support
+SCRIPT=$(readlink -f "$0")
+SCRIPTPATH=$(dirname "$SCRIPT")
+$SCRIPTPATH/pleroma eval 'Pleroma.ReleaseTasks.mix_task("'"$*"'")'