automatic starting of services

Danishka Navin danishka at gmail.com
Tue Apr 10 07:44:33 UTC 2012


On Tue, Apr 10, 2012 at 1:10 PM, Reindl Harald <h.reindl at thelounge.net>wrote:

>
>
> Am 10.04.2012 06:18, schrieb Danishka Navin:
> >
> >
> > On Tue, Apr 10, 2012 at 9:45 AM, Tommy Pham <tommyhp2 at gmail.com <mailto:
> tommyhp2 at gmail.com>> wrote:
> >
> >     Hi,
> >
> >     I'm new to the list and recently started to use Fedora.  How can I
> >     have services, such as mysql, started automatically upon boot/reboot?
> >     I don't see it in /etc/init.d.
> >
> > chkcon mysqld on
> >
> > if you want to check if the service is running on each run level
> > use the following command
> >
> > chkcon mysqld --list
>
> first: "chkcon" does not exists, you mean "chkconfig"
>

yes, i meant chkconfig.
sorry for the inconvenience



>
> but much more important: in recent fedora versions since systemd is
> introduced "systemctl stat/stop/enable/disable mysqld.service"
> is what should be preferred and the concept of runlevels in the old
> fashion does no longer exists - so we should not educate new users
> in thgins that are the past
>
> man systemctl
> systemctl --help
>
>
> --
> users mailing list
> users at lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
> Have a question? Ask away: http://ask.fedoraproject.org
>
>


-- 
Danishka Navin
http://danishkanavin.blogspot.com
http://twitter.com/danishkanavin
http://www.flickr.com/photos/danishkanavin/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/users/attachments/20120410/f23526b9/attachment.html>


More information about the users mailing list