[MacPorts] #44127: Update Bacula to Version 7.0.4

MacPorts noreply at macports.org
Thu Jun 26 07:22:24 PDT 2014


#44127: Update Bacula to Version 7.0.4
-------------------------------+---------------------------------
  Reporter:  robertoschwald@…  |      Owner:  mf2k@…
      Type:  update            |     Status:  assigned
  Priority:  Normal            |  Milestone:
 Component:  ports             |    Version:
Resolution:                    |   Keywords:  haspatch maintainer
      Port:  bacula            |
-------------------------------+---------------------------------

Comment (by robertoschwald@…):

 One minor thing we should think of is startup item generation for the
 server variants. Currently, only a startupitem is generated for fd. Is it
 possible to generate more than one startupitem in the Portfile? If yes we
 should add them to the server variants:

 {{{
 DIRECTOR:
 startupitem.create  yes
 startupitem.init    "BIN=${prefix}/sbin/bacula-dir\nPID=${prefix}/var/run
 /bacula-dir.*.pid"
 startupitem.start   "\[ -x \${BIN} \] && \${BIN} -c ${prefix}/etc/bacula
 /bacula-dir.conf"
 startupitem.stop    "\[ -r \${PID} \] && /bin/kill \$(cat \${PID})"


 STORAGE:
 startupitem.create  yes
 startupitem.init    "BIN=${prefix}/sbin/bacula-sd\nPID=${prefix}/var/run
 /bacula-sd.*.pid"
 startupitem.start   "\[ -x \${BIN} \] && \${BIN} -c ${prefix}/etc/bacula
 /bacula-sd.conf"
 startupitem.stop    "\[ -r \${PID} \] && /bin/kill \$(cat \${PID})"
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/44127#comment:10>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list