Initial Settings : Service Settings2020/04/24 |
To see services status or enable/disable services, Configure like follows.
|
|
[1] | Display services. |
# display services which are running root@dlp:~# systemctl -t service UNIT LOAD ACTIVE SUB DESCRIPTION > accounts-daemon.service loaded active running Accounts Service > apparmor.service loaded active exited Load AppArmor prof> apport.service loaded active exited LSB: automatic cra> ..... ..... unattended-upgrades.service loaded active running Unattended Upgrade> user-runtime-dir@0.service loaded active exited User Runtime Direc> user@0.service loaded active running User Manager for U> LOAD = Reflects whether the unit definition was properly loaded. ACTIVE = The high-level unit activation state, i.e. generalization of SUB. SUB = The low-level unit activation state, values depend on unit type. 48 loaded units listed. Pass --all to see loaded but inactive units, too. To show all installed unit files use 'systemctl list-unit-files'. # the list of all services' setting root@dlp:~# systemctl list-unit-files -t service UNIT FILE STATE VENDOR PRESET accounts-daemon.service enabled enabled apparmor.service enabled enabled apport-autoreport.service static enabled apport-forward@.service static enabled apport.service generated enabled ..... ..... xfs_scrub@.service static enabled xfs_scrub_all.service static enabled xfs_scrub_fail@.service static enabled 194 unit files listed. |
[2] | If there are some unnecessary services, it's possible to Stop and turn OFF auto-start setting like follows. (possible to omit [.service] words) |
root@dlp:~# systemctl stop apparmor root@dlp:~# systemctl disable apparmor |
Sponsored Link |
|