aboutsummaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2021-10-06 12:18:08 +0200
committerBadlop <badlop@process-one.net>2021-10-21 16:12:38 +0200
commit5f3c8dcca429893e85d92b47d9f84054e2b12fed (patch)
tree824405cacfd5ba3e7406b617fa5d9e48cf7977d8 /Makefile.in
parentFix create_room_with_opts when using SQL storage (#3700) (diff)
Use the configured user in systemd's ejabberd.service
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index 45e223ca2..ecee982e3 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -306,7 +306,8 @@ install: copy-files
chmod 755 ejabberd.init
#
# Service script
- $(SED) -e "s*@ctlscriptpath@*$(SBINDIR)*g" ejabberd.service.template \
+ $(SED) -e "s*@ctlscriptpath@*$(SBINDIR)*g" \
+ -e "s*@installuser@*$(INIT_USER)*g" ejabberd.service.template \
> ejabberd.service
chmod 644 ejabberd.service
#