Opened 10 years ago
Closed 10 years ago
#46135 closed defect (fixed)
sympa: fix startup item
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | dbevans (David B. Evans) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | sympa |
Description
The sympa port includes these lines:
startupitem.create yes startupitem.start "${prefix}/share/${name}/sympa" startupitem.stop "${prefix}/share/${name}/sympa"
This has been there since the port was added in r17339 but does not work anymore. The port does not install a file at the path ${prefix}/share/${name}/sympa
It's highly strange that the same script with the same (i.e. no) arguments would be used to both start and stop the server. I wonder if this ever worked.
If possible, it is preferable to use startupitem.executable
instead of startupitem.start
and startupitem.stop
.
Change History (2)
comment:1 Changed 10 years ago by dbevans (David B. Evans)
Owner: | changed from macports-tickets@… to devans@… |
---|---|
Status: | new → assigned |
comment:2 Changed 10 years ago by dbevans (David B. Evans)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
sympa actually starts 5 separate daemon processes and provides a standard init.d script to start and stop these thus startupitem.executable isn't appropriate. There were also a few bugs in the provided script which I've fixed.
Startup item specification corrected in r129347 so that it correctly uses the provided script.
Works for me. Turned out to be a lot more involved than I expected. Doubt this ever worked before.
Good point. I'll take a look and see what works. Thanks for pointing this out.