Replace ctlscriptpath and produce ejabberd.service file (#434)

This commit is contained in:
Badlop 2016-11-04 16:35:59 +01:00
parent 62db030942
commit bab71f0832
1 changed files with 5 additions and 0 deletions

View File

@ -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)