The initial '#' is missing. It works as expected, but still gives an error: % sudo service tomcat10 start /usr/local/etc/rc.d/tomcat_ws: !/bin/sh: not found Starting tomcat_ws.
Weird. I see it. Other tomcat ports are not affected. Can you create patch?
Created attachment 224726 [details] fix shebang Here's the patch.
Comment on attachment 224726 [details] fix shebang Thanks! I'll ask to commit it.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=a5de7b0cf8ad4b38de466c929446e6fbf98858cc commit a5de7b0cf8ad4b38de466c929446e6fbf98858cc Author: Lapo Luchini <lapo@lapo.it> AuthorDate: 2021-05-06 13:19:58 +0000 Commit: Juraj Lutter <otis@FreeBSD.org> CommitDate: 2021-05-06 13:22:35 +0000 www/tomcat10: Fix shebang in rc.d script PR: 254878 Reported by: Lapo Luchini <lapo@lapo.it> Approved by: vvd@unislabs.com (maintainer) www/tomcat10/files/tomcat10.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
A commit in branch 2021Q2 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=afa1357f1caab752b93b4c5fd0742d385e84229a commit afa1357f1caab752b93b4c5fd0742d385e84229a Author: Lapo Luchini <lapo@lapo.it> AuthorDate: 2021-05-06 13:19:58 +0000 Commit: Juraj Lutter <otis@FreeBSD.org> CommitDate: 2021-05-06 13:26:31 +0000 www/tomcat10: Fix shebang in rc.d script PR: 254878 Reported by: Lapo Luchini <lapo@lapo.it> Approved by: vvd@unislabs.com (maintainer) (cherry picked from commit a5de7b0cf8ad4b38de466c929446e6fbf98858cc) www/tomcat10/files/tomcat10.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Committed, thanks.