User Tools

Site Tools


ubuntu:services:get_service_settings

Ubuntu - Services - Get service settings

Displays the settings of a service:

  • enabled started.
  • disabled not started.
  • masked to not auto start.
  • static does not contain an “install” section, which is used to enable a unit. As such, these units cannot be enabled. Usually, this means that the unit performs a one-off action or is used only as a dependency of another unit and should not be run by itself.

systemctl list-unit-files -t service 

returns:

UNIT FILE                                  STATE          
accounts-daemon.service                    enabled        
acpid.service                              disabled       
alsa-restore.service                       static         
alsa-state.service                         static         
alsa-utils.service                         masked         
anacron.service                            enabled        
apparmor.service                           enabled        
apport-autoreport.service                  static         
apport-forward@.service                    static         
apport.service                             generated      
apt-daily-upgrade.service                  static         
apt-daily.service                          static         
autovt@.service                            enabled        
avahi-daemon.service                       enabled        
binfmt-support.service                     enabled        
blk-availability.service                   enabled        
bluetooth.service                          enabled        
ubuntu/services/get_service_settings.txt · Last modified: 2020/07/15 09:30 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki