Error in acme.sh pre-hook
Describe the bug My certificates are not being updated. I checked the log and found these lines:
[Tue May 2 15:35:37 +0330 2023] Run pre hook:'/usr/bin/systemctl stop hiddify-xray;if [ -n '756136 ' ]; then /usr/bin/kill -9 756136 ; fi || echo 'nothing to kill''
./lib/acme.sh: line 3474: /usr/bin/systemctl: No such file or directory
./lib/acme.sh: line 3474: /usr/bin/kill: No such file or directory
nothing to kill
[Tue May 2 15:35:37 +0330 2023] Standalone mode.
[Tue May 2 15:35:37 +0330 2023] LISTEN 0 4096 *:80 *:* users:(("xray",pid=756136,fd=21))
LISTEN 0 4096 *:80 *:* users:(("xray",pid=756136,fd=22))
[Tue May 2 15:35:37 +0330 2023] tcp port 80 is already used by (("xray",pid=756136,fd=21))
(("xray",pid=756136,fd=22))
[Tue May 2 15:35:37 +0330 2023] Please stop it first
It seems like the pre-hook for acme.sh is using /usr/bin/systemctl and /usr/bin/kill, which for some reason are not located at that location on my Ubuntu 20.04 server. They're instead located at /bin/systemctl and /bin/kill.
I currently solved the problem by running ln -s /bin/kill /usr/bin/kill and ln -s /bin/systemctl /usr/bin/systemctl, but I think a better solution must be implemented.
Also, thanks for your awesome project.
Thank you for your contribution. However, due to many similar or old issues, this bot automatically closed the issue. Please open a new issue if the problem is still there.
این یک پیام خودکار است. به علت شباهت های بسایری که بین ایشو ها بود و خیلی هاش رفع شده برای مدیریت بهتر به صورت خودکار تمام ایشو ها بسته میشه
ولی خواهشمند است که در صورتی که همچنان مشکل شما وجود دارد و یا نیاز به بهبود هست به ما پیام بدید
تا بتونیم مدیریت بهتری روی ایشو ها داشته باشیم.
با سپاس