mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
make-installers: Don't edit too much
The init script and systemd units don't refer to "/opt/ejabberd", and ejabberdctl doesn't refer to "/opt/ejabberd-$version". Fixes #4258.
This commit is contained in:
parent
af99799e8a
commit
11055f61a6
@ -247,7 +247,6 @@ create_setup_script()
|
|||||||
if [ "\$code_dir" != '$default_code_dir' ]
|
if [ "\$code_dir" != '$default_code_dir' ]
|
||||||
then
|
then
|
||||||
sed -i "s|$default_code_dir|\$code_dir|g" \
|
sed -i "s|$default_code_dir|\$code_dir|g" \
|
||||||
"\$code_dir/bin/${rel_name}ctl" \
|
|
||||||
"\$code_dir/bin/$rel_name.init" \
|
"\$code_dir/bin/$rel_name.init" \
|
||||||
"\$code_dir/bin/$rel_name.service"
|
"\$code_dir/bin/$rel_name.service"
|
||||||
fi
|
fi
|
||||||
@ -255,8 +254,6 @@ create_setup_script()
|
|||||||
then
|
then
|
||||||
sed -i "s|$default_data_dir|\$data_dir|g" \
|
sed -i "s|$default_data_dir|\$data_dir|g" \
|
||||||
"\$code_dir/bin/${rel_name}ctl" \
|
"\$code_dir/bin/${rel_name}ctl" \
|
||||||
"\$code_dir/bin/$rel_name.init" \
|
|
||||||
"\$code_dir/bin/$rel_name.service" \
|
|
||||||
"\$data_dir/conf/$rel_name.yml" \
|
"\$data_dir/conf/$rel_name.yml" \
|
||||||
"\$data_dir/conf/${rel_name}ctl.cfg"
|
"\$data_dir/conf/${rel_name}ctl.cfg"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user