init script

Jeremy Lavergne jeremy at lavergne.gotdns.org
Sat Mar 24 12:13:14 PDT 2012


> I installed Redis last night & saw that running `sudo port load redis`
> starts Redis & also enables it to start up at boot time.
> 
> I installed mongodb some months ago & have been starting it up by hand
> so can I start mongod the same way i.e. `sudo port load mongod` & will
> it also enable it at boot a la Linux's chkconfig & service on Fedora as
> an example?

Check the portfile for a "startup item"-related section.

Apple provides launchd in place of init/watchdog/cron on the Mac.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 8796 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20120324/e1a2fd2c/attachment.bin>


More information about the macports-users mailing list