mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
Replace ctlscriptpath and produce ejabberd.service file (#434)
This commit is contained in:
parent
62db030942
commit
bab71f0832
@ -207,6 +207,11 @@ install: all copy-files
|
|||||||
> ejabberd.init
|
> ejabberd.init
|
||||||
chmod 755 ejabberd.init
|
chmod 755 ejabberd.init
|
||||||
#
|
#
|
||||||
|
# Service script
|
||||||
|
$(SED) -e "s*@ctlscriptpath@*$(SBINDIR)*" ejabberd.service.template \
|
||||||
|
> ejabberd.service
|
||||||
|
chmod 755 ejabberd.service
|
||||||
|
#
|
||||||
# Spool directory
|
# Spool directory
|
||||||
$(INSTALL) -d -m 750 $(O_USER) $(SPOOLDIR)
|
$(INSTALL) -d -m 750 $(O_USER) $(SPOOLDIR)
|
||||||
$(CHOWN_COMMAND) -R @INSTALLUSER@ $(SPOOLDIR) >$(CHOWN_OUTPUT)
|
$(CHOWN_COMMAND) -R @INSTALLUSER@ $(SPOOLDIR) >$(CHOWN_OUTPUT)
|
||||||
|
Loading…
Reference in New Issue
Block a user