Opened 13 years ago

Closed 12 years ago

#33476 closed defect (fixed)

sudo port unload redis does not unload

Reported by: barry.allard@… Owned by: brianjlandau@…
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: haspatch Cc: ryandesign (Ryan Carsten Schmidt)
Port: redis

Description


Attachments (1)

Portfile.diff (552 bytes) - added by barry.allard@… 13 years ago.
This is a patch to the trunk databases/redis Portfile

Download all attachments as: .zip

Change History (5)

comment:1 Changed 13 years ago by barry.allard@…

~  ᐅ sudo port load redis
~  ᐅ ps aux | grep -v grep | grep redis
root           67332   0.0  0.0  2444152    932   ??  Ss    2:35AM   0:00.01 /opt/local/bin/redis-server /opt/local/etc/redis-daemon.conf
~  ᐅ sudo port unload redis
~  ᐅ ps aux | grep -v grep | grep redis
root           67332   0.0  0.0  2444152    932   ??  Ss    2:35AM   0:00.01 /opt/local/bin/redis-server /opt/local/etc/redis-daemon.conf

Changed 13 years ago by barry.allard@…

Attachment: Portfile.diff added

This is a patch to the trunk databases/redis Portfile

comment:3 Changed 13 years ago by barry.allard@…

This diff greps the port number from the conf file and uses redis-cli to shutdown redis.

comment:4 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: haspatch added; wrapper-script removed
Owner: changed from macports-tickets@… to brianjlandau@…

comment:5 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Resolution: fixed
Status: newclosed

Fixed a different way in r98577.

Note: See TracTickets for help on using tickets.