mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-22 16:20:52 +01:00
Remove obsolete cookie preparation in spool dir, it's now stored in HOME
This commit is contained in:
parent
5f3c8dcca4
commit
5462a26a0a
@ -71,9 +71,6 @@ SPOOLDIR = $(DESTDIR)@localstatedir@/lib/ejabberd
|
|||||||
# /var/lock/ejabberdctl
|
# /var/lock/ejabberdctl
|
||||||
CTLLOCKDIR = $(DESTDIR)@localstatedir@/lock/ejabberdctl
|
CTLLOCKDIR = $(DESTDIR)@localstatedir@/lock/ejabberdctl
|
||||||
|
|
||||||
# /var/lib/ejabberd/.erlang.cookie
|
|
||||||
COOKIEFILE = $(SPOOLDIR)/.erlang.cookie
|
|
||||||
|
|
||||||
# /var/log/ejabberd/
|
# /var/log/ejabberd/
|
||||||
LOGDIR = $(DESTDIR)@localstatedir@/log/ejabberd
|
LOGDIR = $(DESTDIR)@localstatedir@/log/ejabberd
|
||||||
|
|
||||||
@ -315,7 +312,6 @@ install: copy-files
|
|||||||
$(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)
|
||||||
chmod -R 750 $(SPOOLDIR)
|
chmod -R 750 $(SPOOLDIR)
|
||||||
[ ! -f $(COOKIEFILE) ] || { $(CHOWN_COMMAND) @INSTALLUSER@ $(COOKIEFILE) >$(CHOWN_OUTPUT) ; chmod 400 $(COOKIEFILE) ; }
|
|
||||||
#
|
#
|
||||||
# ejabberdctl lock directory
|
# ejabberdctl lock directory
|
||||||
$(INSTALL) -d -m 750 $(O_USER) $(CTLLOCKDIR)
|
$(INSTALL) -d -m 750 $(O_USER) $(CTLLOCKDIR)
|
||||||
|
Loading…
Reference in New Issue
Block a user