init script

Phil Dobbin phildobbin at gmail.com
Sat Mar 24 12:15:59 PDT 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 24/03/2012 19:13, Jeremy Lavergne wrote:
>> 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.


OK, will do, Jeremy.

I loathe launchd & plists ;-)

Cheers,

  Phil...

- -- 
But masters, remember that I am an ass.
Though it be not written down,
yet forget not that I am an ass.

	Wm. Shakespeare - Much Ado About Nothing


-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: §auto-key-locate cert pka ldap hkp://keys.gnupg.net
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPbh1tAAoJEKpMeDHWT5ADPiAIAKUXxk6dDcAKerUSjjqBSRst
fvCNViso5GbhuII/ncgOe7wk+UeW84whDpIp5OmaXC1jQie8drVQ5RB+x/J6gyUi
/AK/OqwV81rX2bA97g6rDi3CmNpC9B0gyxJv76WY+I+w5yZ+7LapTX9v+EWnhXp7
znQDXNXYpPQEjhqPxlRo2mKJm+vrJAmxk5xCzbmMb/jTuvGkZRUtwlod12qZgLxJ
3KRhNuNtIP6MKQ5GQRABdJHebzXOLfARrRqNqwfVCcZi2EnSlKikuh94WfjhhQs8
GBzjGfZemr9Roc9Ypa9FU7DgJdvDS4ID/3wsFMAWG8b9nRSZCH07fyeZHd+GSIQ=
=bM6n
-----END PGP SIGNATURE-----


More information about the macports-users mailing list