From 5d9ef8af398334e234b229a931e5d9926a19bc5b Mon Sep 17 00:00:00 2001 From: pitchum Date: Wed, 17 Jan 2024 11:48:16 +0000 Subject: [PATCH] Include wrapper script /bin/mobilizon_ctl --- debian/install | 1 + debian/mobilizon_ctl | 4 ++++ 2 files changed, 5 insertions(+) create mode 100755 debian/mobilizon_ctl diff --git a/debian/install b/debian/install index 175bcb9e..00c1610e 100644 --- a/debian/install +++ b/debian/install @@ -1,2 +1,3 @@ debian/config.exs.tpl etc/mobilizon _build/prod/rel/mobilizon usr/share +debian/mobilizon_ctl bin diff --git a/debian/mobilizon_ctl b/debian/mobilizon_ctl new file mode 100755 index 00000000..420e3ed2 --- /dev/null +++ b/debian/mobilizon_ctl @@ -0,0 +1,4 @@ +#! /bin/bash + +cd /usr/share/mobilizon +sudo -u mobilizon ./bin/mobilizon_ctl $@