systemctl command that is the same as chkconfig --level
Aaron Konstam
akonstam at sbcglobal.net
Sat Jun 18 13:18:31 UTC 2011
On Fri, 2011-06-17 at 19:01 -0400, Sam Varshavchik wrote:
> Petrus de Calguarium writes:
>
> > To start it during this session:
> >
> > systemctl start <service name>.service
> >
> > To start every time you start graphical.target:
> >
> > systemctl enable <service name>.service
> >
> > I'm not sure how you would differentiate between multi-user.target and
> > graphical.target.
>
> This is specified by the service unit. systemd uses a slightly different
> paradigm. The service itself knows what system state it should be running
> in, by default. Enabling the service puts it as a target for the state.
>
Now II am really confused. How does a service like sshd.service know
what system state it is to run at
--
=======================================================================
Clothes make the man. Naked people have little or no influence on
society. - Mark Twain
=======================================================================
Aaron Konstam telephone: (210) 656-0355 e-mail: akonstam at sbcglobal.net
More information about the users
mailing list