On 01/15/2013 07:15 AM, Ryan Schmidt wrote:
> 
> On Jan 15, 2013, at 00:00, Phil Dobbin wrote:
> 
>> Apache/2.2.3 from MacPorts
>>
>> What's the equivalent command to '# chkconfig httpd on' I have run to
>> get apache to start at login?
> 
> I'm not familiar with the "chkconfig" command, but if you want to start 
> MacPorts apache2 at login, then you would use "sudo port load apache2".
> 

Thanks, Ryan.

The 'chkconfig' command is the RPM (Red Hat/Fedora/CentOs) equivalent of
the init script 'sudo /etc/init.d/apache2 start|graceful|stop' command
on Deb/Ubuntu distros & when it's installed by apt it automatically
starts apache on login (on RPM distros yum doesn't, so you have to use
the 'chkconfig' command to ensure it starts at login).

Cheers,

  Phil...

-- 
currently (ab)using
CentOS 5.8 & 6.3, Debian Squeeze & Wheezy, Fedora Beefy & Spherical,
Lubuntu 12.10, OS X Snow Leopard & Ubuntu Precise & Quantal



Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to