Opened 15 years ago

Last modified 14 years ago

#18174 new enhancement

mysql5-server: launch on demand support

Reported by: outis Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Low Milestone:
Component: ports Version: 1.7.0
Keywords: Cc: outis, nerdling (Jeremy Lavergne)
Port: mysql5-server

Description

Some people (eg me) would like the mysql server to utilize launchd's support for launch on demand. Attached is a launch.plist which makes use of this and launches the mysql server when "/opt/local/var/run/mysql5/mysqld.sock" is accessed. If the port maintainers are interested, I could (try to) create a variant for this configuration. Alternatively, the launchd.plist could just be included alongside the current one, and users can manually install one.

Attachments (1)

org.macports.mysql5.plist (1.3 KB) - added by outis 15 years ago.
Launch mysql server on demand

Download all attachments as: .zip

Change History (7)

Changed 15 years ago by outis

Attachment: org.macports.mysql5.plist added

Launch mysql server on demand

comment:1 Changed 15 years ago by outis

Cc: ww.galen@… added

Cc Me!

comment:2 Changed 15 years ago by jmroot (Joshua Root)

Owner: changed from macports-tickets@… to ryandesign@…

comment:3 Changed 15 years ago by (none)

Milestone: Port Enhancements

Milestone Port Enhancements deleted

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

It sounds like this would be a generally useful option for all ports that use startupitems, not just mysql5. You may want to suggest it to the macports-dev mailing list. Perhaps something can be added to MacPorts base to allow this to happen.

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

Port: mysql5-server added; mysql5 removed
Summary: Launch On Demand for mysql servermysql5-server: launch on demand support

MySQL server functionality is now in the mysql5-server port

comment:6 Changed 14 years ago by nerdling (Jeremy Lavergne)

Cc: snc@… added

Cc Me!

Note: See TracTickets for help on using tickets.