Opened 5 months ago

Last modified 5 months ago

#61625 assigned defect

redis: wrong .conf file path in startupitem

Reported by: ArtKoKo Owned by: dgilman (David Gilman)
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: Cc:
Port: redis

Description

The plist file for launchd is wrong : Redis is launched multiple times in an infinite loop.

The conf file path is unfinished : /opt/local/etc/redis.conf instead of /opt/local/etc/redis/redis.conf

I suggest in attach a replacement plist

Attachments (1)

org.macports.redis.zip (2.5 KB) - added by ArtKoKo 5 months ago.
plist with wrapper

Download all attachments as: .zip

Change History (4)

Changed 5 months ago by ArtKoKo

Attachment: org.macports.redis.zip added

plist with wrapper

comment:1 Changed 5 months ago by jmroot (Joshua Root)

Keywords: redis launchd removed
Summary: Wrong plist / wrong pathredis: wrong .conf file path in startupitem

comment:2 Changed 5 months ago by dgilman (David Gilman)

I'm not sure how you set up launchd here. We definitely install the Redis conf file to /opt/local/etc/redis.conf and not in the redis subdirectory. A "port load redis" is correctly setting up launchd with the correct paths.

comment:3 Changed 5 months ago by ArtKoKo

The conf path is a secondary and minor point, it's just to do like other port

The main problem is "port load redis" launch redis multiple times in an infinite loop because the call of daemondo is incorrect

I think the previous ticket is about this same issue

Note: See TracTickets for help on using tickets.