[Users] systemctl set-default multi-user.target

Gena Makhomed gmm at csdoc.com
Mon May 18 17:22:54 PDT 2015


On 19.05.2015 2:46, Kir Kolyshkin wrote:

> Also you probably want to set multi-user as a default systemd target
> (if it is not set that way already):
>
> # Set default target as multi-user target
> rm -f lib/systemd/system/default.target
> ln -s multi-user.target lib/systemd/system/default.target
> mkdir -p etc/systemd/system/default.target.wants

In CentOS 7 OpenVZ template also default target is not
multi-user and it should be manually switched via command line:

# systemctl set-default multi-user.target

But why default target in OpenVZ templates is not multi-user.target ?

-- 
Best regards,
  Gena


More information about the Users mailing list