码迷,mamicode.com
首页 > 系统相关 > 详细

Ubuntu18.04初始的systemd service

时间:2019-12-21 11:58:25      阅读:390      评论:0      收藏:0      [点我收藏+]

标签:and   ola   deb   recovery   dai   motd   node   mes   vco   

Ubuntu18.04初始的systemd service

两个位置

  1. /etc/systemd/system
root@dev2:~# ls /etc/systemd/system
aliyun.service                         getty.target.wants           ntp.service             syslog.service
chronyd.service                        graphical.target.wants       ntp-systemd-netif.path  systemd-resolved.service.wants
dbus-org.freedesktop.network1.service  multi-user.target.wants      sockets.target.wants    timers.target.wants
dbus-org.freedesktop.resolve1.service  network-online.target.wants  sshd.service
default.target.wants                   network-pre.target.wants     sysinit.target.wants
  1. /lib/systemd/system
root@dev2:~# ls /lib/systemd/system
accounts-daemon.service                 motd.service                       sys-fs-fuse-connections.mount
apparmor.service                        mountall-bootclean.service         sysinit.target
apt-daily.service                       mountall.service                   sysinit.target.wants
apt-daily.timer                         mountdevsubfs.service              sys-kernel-config.mount
apt-daily-upgrade.service               mountkernfs.service                sys-kernel-debug.mount
apt-daily-upgrade.timer                 mountnfs-bootclean.service         syslog.socket
atd.service                             mountnfs.service                   sysstat.service
autovt@.service                         multi-user.target                  systemd-ask-password-console.path
basic.target                            multi-user.target.wants            systemd-ask-password-console.service
bluetooth.target                        netplan-wpa@.service               systemd-ask-password-plymouth.path
bootlogd.service                        networkd-dispatcher.service        systemd-ask-password-plymouth.service
bootlogs.service                        network-online.target              systemd-ask-password-wall.path
bootmisc.service                        network-pre.target                 systemd-ask-password-wall.service
checkfs.service                         network.target                     systemd-backlight@.service
checkroot-bootclean.service             nscd.service                       systemd-binfmt.service
checkroot.service                       nss-lookup.target                  systemd-exit.service
chrony-dnssrv@.service                  nss-user-lookup.target             systemd-fsckd.service
chrony-dnssrv@.timer                    ondemand.service                   systemd-fsckd.socket
chrony.service                          paths.target                       systemd-fsck-root.service
cloud-config.service                    plymouth-halt.service              systemd-fsck@.service
cloud-config.target                     plymouth-kexec.service             systemd-halt.service
cloud-final.service                     plymouth-log.service               systemd-hibernate-resume@.service
cloud-init-local.service                plymouth-poweroff.service          systemd-hibernate.service
cloud-init.service                      plymouth-quit.service              systemd-hostnamed.service
console-getty.service                   plymouth-quit-wait.service         systemd-hwdb-update.service
console-setup.service                   plymouth-read-write.service        systemd-hybrid-sleep.service
container-getty@.service                plymouth-reboot.service            systemd-initctl.service
cron.service                            plymouth.service                   systemd-initctl.socket
cryptdisks-early.service                plymouth-start.service             systemd-journald-audit.socket
cryptdisks.service                      plymouth-switch-root.service       systemd-journald-dev-log.socket
cryptsetup-pre.target                   poweroff.target                    systemd-journald.service
cryptsetup.target                       poweroff.target.wants              systemd-journald.socket
ctrl-alt-del.target                     printer.target                     systemd-journal-flush.service
dbus-org.freedesktop.hostname1.service  procps.service                     systemd-kexec.service
dbus-org.freedesktop.locale1.service    proc-sys-fs-binfmt_misc.automount  systemd-localed.service
dbus-org.freedesktop.login1.service     proc-sys-fs-binfmt_misc.mount      systemd-logind.service
dbus-org.freedesktop.timedate1.service  quotaon.service                    systemd-machine-id-commit.service
dbus.service                            rc-local.service                   systemd-modules-load.service
dbus.socket                             rc.local.service                   systemd-networkd.service
debug-shell.service                     rc-local.service.d                 systemd-networkd.socket
default.target                          rc.service                         systemd-networkd-wait-online.service
dev-hugepages.mount                     rcS.service                        systemd-poweroff.service
dev-mqueue.mount                        reboot.service                     systemd-quotacheck.service
ecs_mq.service                          reboot.target                      systemd-random-seed.service
emergency.service                       reboot.target.wants                systemd-reboot.service
emergency.target                        remote-cryptsetup.target           systemd-remount-fs.service
exit.target                             remote-fs-pre.target               systemd-resolved.service
final.target                            remote-fs.target                   systemd-rfkill.service
friendly-recovery.service               rescue.service                     systemd-rfkill.socket
friendly-recovery.target                rescue.target                      systemd-suspend.service
fstrim.service                          rescue.target.wants                systemd-suspend-then-hibernate.service
fstrim.timer                            resolvconf-pull-resolved.path      systemd-sysctl.service
fuse.service                            resolvconf-pull-resolved.service   systemd-timedated.service
getty-pre.target                        resolvconf.service                 systemd-timesyncd.service
getty@.service                          rmnologin.service                  systemd-tmpfiles-clean.service
getty-static.service                    rpcbind.target                     systemd-tmpfiles-clean.timer
getty.target                            rsync.service                      systemd-tmpfiles-setup-dev.service
getty.target.wants                      rsyslog.service                    systemd-tmpfiles-setup.service
graphical.target                        runlevel0.target                   systemd-udevd-control.socket
graphical.target.wants                  runlevel1.target                   systemd-udevd-kernel.socket
halt.service                            runlevel1.target.wants             systemd-udevd.service
halt.target                             runlevel2.target                   systemd-udev-settle.service
halt.target.wants                       runlevel2.target.wants             systemd-udev-trigger.service
hibernate.target                        runlevel3.target                   systemd-update-utmp-runlevel.service
hostname.service                        runlevel3.target.wants             systemd-update-utmp.service
hwclock.service                         runlevel4.target                   systemd-user-sessions.service
hybrid-sleep.target                     runlevel4.target.wants             systemd-volatile-root.service
initrd-cleanup.service                  runlevel5.target                   system.slice
initrd-fs.target                        runlevel5.target.wants             system-update-cleanup.service
initrd-parse-etc.service                runlevel6.target                   system-update.target
initrd-root-device.target               sendsigs.service                   timers.target
initrd-root-fs.target                   serial-getty@.service              timers.target.wants
initrd-switch-root.service              setvtrgb.service                   time-sync.target
initrd-switch-root.target               shutdown.target                    udev.service
initrd-switch-root.target.wants         sigpwr.target                      ufw.service
initrd.target                           single.service                     umountfs.service
initrd-udevadm-cleanup-db.service       sleep.target                       umountnfs.service
irqbalance.service                      slices.target                      umountroot.service
kexec.target                            smartcard.target                   umount.target
kexec.target.wants                      sockets.target                     urandom.service
keyboard-setup.service                  sockets.target.wants               ureadahead.service
killprocs.service                       sound.target                       ureadahead-stop.service
kmod.service                            ssh.service                        ureadahead-stop.timer
kmod-static-nodes.service               ssh@.service                       user@.service
local-fs-pre.target                     ssh.socket                         user@.service.d
local-fs.target                         stop-bootlogd.service              user.slice
local-fs.target.wants                   stop-bootlogd-single.service       uuidd.service
machine.slice                           sudo.service                       uuidd.socket
module-init-tools.service               suspend.target                     x11-common.service
motd-news.service                       suspend-then-hibernate.target
motd-news.timer                         swap.target

Ubuntu18.04初始的systemd service

标签:and   ola   deb   recovery   dai   motd   node   mes   vco   

原文地址:https://www.cnblogs.com/xiangnan/p/12076176.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!