mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-20 16:15:59 +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' ]
|
||||
then
|
||||
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.service"
|
||||
fi
|
||||
@ -255,8 +254,6 @@ create_setup_script()
|
||||
then
|
||||
sed -i "s|$default_data_dir|\$data_dir|g" \
|
||||
"\$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}ctl.cfg"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user