16 lines
470 B
Diff
16 lines
470 B
Diff
|
diff --git a/Makefile.in b/Makefile.in
|
||
|
index a0b4553d..4675b88a 100644
|
||
|
--- a/Makefile.in
|
||
|
+++ b/Makefile.in
|
||
|
@@ -204,8 +204,8 @@ install: all copy-files
|
||
|
chmod 755 ejabberd.init
|
||
|
#
|
||
|
# Service script
|
||
|
- $(SED) -e "s*@ctlscriptpath@*$(SBINDIR)*g" ejabberd.service.template \
|
||
|
- > ejabberd.service
|
||
|
+ [ -f ejabberd.service ] || $(SED) -e "s*@ctlscriptpath@*$(SBINDIR)*g" \
|
||
|
+ ejabberd.service.template > ejabberd.service
|
||
|
chmod 644 ejabberd.service
|
||
|
#
|
||
|
# Spool directory
|