본문 바로가기

리눅스

[리눅스] systemd 서비스 list

반응형

systemd 서비스 list

systemctl list-unit-files | grep bluetooth.service
$ systemctl list-unit-files | grep bluetooth.service
bluetooth.service                           enabled
systemctl disable  bluetooth.service
$ systemctl disable  bluetooth.service
rm '/etc/systemd/system/dbus-org.bluez.service'
rm '/etc/systemd/system/bluetooth.target.wants/bluetooth.service'
systemctl list-unit-files | grep bluetooth.service
$ systemctl list-unit-files | grep bluetooth.service
bluetooth.service                           disabled

 

Unit File Commands:

  list-unit-files                 List installed unit files

  enable [NAME...]          Enable one or more unit files

  disable [NAME...]         Disable one or more unit files

  reenable [NAME...]      Reenable one or more unit files

  preset [NAME...]          Enable/disable one or more unit files based on preset configuration

  is-enabled [NAME...]   Check whether unit files are enabled

  mask [NAME...]            Mask one or more units

  unmask [NAME...]        Unmask one or more units

  link [PATH...]                 Link one or more units files into the search path

  get-default                    Get the name of the default target

  set-default NAME         Set the default target

 

728x90
반응형