automatic starting of services
Tommy Pham
tommyhp2 at gmail.com
Tue Apr 10 06:02:21 UTC 2012
@Patrick, sorry about that, it's been a long day. I'm testing both
F16 and F17. Thanks.
On Mon, Apr 9, 2012 at 9:18 PM, Danishka Navin <danishka at gmail.com> wrote:
>
>
> On Tue, Apr 10, 2012 at 9:45 AM, Tommy Pham <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
>
[root at fedora17 ~]# cat /etc/redhat-release
Fedora release 17 (Beefy Miracle)
[root at fedora17 ~]# uname -a
Linux fedora17.workgroup.domain 3.3.1-3.fc17.x86_64 #1 SMP Wed Apr 4
18:13:49 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
[root at fedora17 ~]# rpm -qa mysql*
mysql-server-5.5.22-1.fc17.x86_64
mysql-libs-5.5.22-1.fc17.x86_64
mysql-5.5.22-1.fc17.x86_64
[root at fedora17 ~]# chkconfig
Note: This output shows SysV services only and does not include native
systemd services. SysV configuration data might be overridden by native
systemd configuration.
netconsole 0:off 1:off 2:off 3:off 4:off 5:off 6:off
network 0:off 1:off 2:on 3:on 4:on 5:on 6:off
[root at fedora17 ~]# ls /etc/init.d
functions netconsole network
[root at fedora17 ~]#
I got a vanilla of both F16 & F17. Thanks.
>>
>>
>> TIA,
>> Tommy
>>
>> --
>> 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/
>
>
>
More information about the users
mailing list