Changeset 14513 for trunk/dports


Ignore:
Timestamp:
Oct 9, 2005, 9:10:41 PM (14 years ago)
Author:
mww
Message:

Bug: #5203, #5309
Submitted by: joe@…
Reviewed by: mww@, jbj@

fix startup-item

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/databases/mysql4/Portfile

    r14461 r14513  
    1 # $Id: Portfile,v 1.20 2005/10/07 13:12:31 mww Exp $
     1# $Id: Portfile,v 1.21 2005/10/09 21:10:41 mww Exp $
    22
    33PortSystem 1.0
    44name              mysql4
    55version           4.1.14
     6revision          1
    67categories        databases
    78maintainers       michaelm@opendarwin.org 
     
    8586
    8687variant server  {
    87         startupitem.create      yes
    88         startupitem.start       "${prefix}/bin/mysqld_safe --user=mysql --pid-file=${prefix}/var/run/mysqld/mysqld.pid"
    89         startupitem.stop        "/usr/bin/kill -15 \$(cat ${prefix}/var/run/mysqld/mysqld.pid)"
     88        # Create a startupitem to start/stop the server
     89    startupitem.create    yes
     90    startupitem.start    "${prefix}/share/mysql/mysql.server start"
     91    startupitem.stop    "${prefix}/share/mysql/mysql.server stop"
    9092}
    9193
Note: See TracChangeset for help on using the changeset viewer.