From bab71f083232aa725925ddb66af371a6852da4a3 Mon Sep 17 00:00:00 2001 From: Badlop Date: Fri, 4 Nov 2016 16:35:59 +0100 Subject: [PATCH] Replace ctlscriptpath and produce ejabberd.service file (#434) --- Makefile.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile.in b/Makefile.in index eb1474926..18c611e96 100644 --- a/Makefile.in +++ b/Makefile.in @@ -207,6 +207,11 @@ install: all copy-files > ejabberd.init chmod 755 ejabberd.init # + # Service script + $(SED) -e "s*@ctlscriptpath@*$(SBINDIR)*" ejabberd.service.template \ + > ejabberd.service + chmod 755 ejabberd.service + # # Spool directory $(INSTALL) -d -m 750 $(O_USER) $(SPOOLDIR) $(CHOWN_COMMAND) -R @INSTALLUSER@ $(SPOOLDIR) >$(CHOWN_OUTPUT)