Ticket #33476: Portfile.diff
File Portfile.diff, 552 bytes (added by barry.allard@…, 13 years ago) |
---|
-
Portfile
68 68 69 69 startupitem.create yes 70 70 startupitem.start "${prefix}/bin/redis-server ${prefix}/etc/redis-daemon.conf" 71 startupitem.stop " echo \"SHUTDOWN\" | nc localhost 6379"71 startupitem.stop "${prefix}/bin/redis-cli -p `grep '^[[:space:]]*port[[:space:]]*[0-9]*' ${prefix}/etc/redis-daemon.conf | grep -Eo '[0-9]+'` SHUTDOWN" 72 72 73 73 notes " 74 74 To start up a redis server instance use this command: