Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to specify a service runlevel by using systemctl?

Hi guys, I am using Fedora 16 x86_64. How can I specify a service runlevel by using systemctl?

For example, there is a service called FOO, I want it to run only in runlevel 3 and 5, How can I do this by using systemctl?

This can be done by chkconfig before:

chkconfig --level 35 FOO on