How to use systemctl?

Hey, everyone,

How to start services on some systems that use systemd to manage services, such as ftp? Well, on such systems, if we try to start a service via /etc/init.d script, we may not be able to do that, because this script may not be filled by proper functions… I mean, start() and stop() functions for the service that we want. So, we have to move on systemctl command to start or stop a service.

For instance, if wanna start vsftpd, we can type:

# systemctl start vsftpd

..and if we want to stop it:

# systemctl stop vsftpd

The same way applies for other services that we want to run, such as sshd, httpd, etc.

That’s all for today,
see ya

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s