systemctl systemd

[centos@192 /]$ systemctl status rsyslog
● rsyslog.service - System Logging Service
   Loaded: loaded (/usr/lib/systemd/system/rsyslog.service; enabled; vendor preset: enabled)
   Active: active (running) since Sun 2017-04-02 07:11:34 EDT; 1h 55min ago
 Main PID: 1111 (rsyslogd)
   CGroup: /system.slice/rsyslog.service
           └─1111 /usr/sbin/rsyslogd -n

Apr 02 07:11:34 192.168.154.128 systemd[1]: Starting System Logging Service...
Apr 02 07:11:34 192.168.154.128 systemd[1]: Started System Logging Service.


[root@192 downloads]# systemctl list-unit-files | egrep 'enabled|disabled' | sort -k 1 -r
wpa_supplicant.service                        disabled
vsftpd.target                                 disabled
vsftpd.service                                enabled 
vsftpd@.service                               disabled
vmtoolsd.service                              enabled 
upower.service                                disabled
tuned.service                                 enabled 
tmp.mount                                     disabled
tcsd.service                                  disabled
target.service                                disabled
systemd-readahead-replay.service              enabled 

[root@192 downloads]# systemctl enable vsftpd
root@192 downloads]# systemctl status vsftpd
● vsftpd.service - Vsftpd ftp daemon
   Loaded: loaded (/usr/lib/systemd/system/vsftpd.service; enabled; vendor preset: disabled)
   Active: active (running) since Sun 2017-04-02 07:11:34 EDT; 2h 21min ago
 Main PID: 1123 (vsftpd)
   CGroup: /system.slice/vsftpd.service

           └─1123 /usr/sbin/vsftpd /etc/vsftpd/vsftpd.conf


[root@192 downloads]# systemctl start vsftpd

In order to see boot message remove rhgb and quiet from boot setting


Comments

Popular posts from this blog

HAproxy logging

teamcity Automatic Agent Start under Linux

NFS mount add in fstab _netdev instead of default | firewall-cmd --list-all