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的更多相关文章

  1. Ubuntu18.04 systemd开机自启

    本文是该文的整理版. Ubuntu18.04不再使用initd管理系统,改用systemd.为了像以前一样,在/etc/rc.local中设置开机启动程序,需要以下几步: 1.systemd默认读取/ ...

  2. kubeadm部署1.17.3[基于Ubuntu18.04]

    基于 Ubuntu18.04 使用 kubeadm 部署Kubernetes 1.17.3 高可用集群 环境 所有节点初始化 # cat <<EOF>> /etc/hosts ...

  3. win10下安装ubuntu18.04

    在win10下安装Ubuntu18.04,双系统共存.Ubuntu 18.04 使用的是Gnome桌面. 查看系统的启动模式: Win+R打开运行,输入msinfo32,回车查看系统信息.在BIOS模 ...

  4. ubuntu18.04安装mysql

    ubuntu18.04中,默认情况下mysql默认包含在apt软件存储库中,要安装它只需要更新服务器上的包索引并安装默认包apt-get. 1.安装mysql sudo apt-get update ...

  5. ubuntu-18.04 设置开机启动脚本

    ubuntu-18.04 设置开机启动脚本 参阅下列链接 https://askubuntu.com/questions/886620/how-can-i-execute-command-on-sta ...

  6. Ubuntu18.04中安装cuda的记录

    一.参考: https://blog.csdn.net/QLULIBIN/article/details/78714596 https://www.jianshu.com/p/00c37b09f0f3 ...

  7. Ubuntu 18.04 rc.local systemd设置

    ubuntu18.04不再使用initd管理系统,改用systemd. 然而systemd很难用,改变太大,跟之前的完全不同. 使用systemd设置开机启动为了像以前一样,在/etc/rc.loca ...

  8. Centos7.4和Ubuntu18.04安装PHP7.2

    安装依赖 yum install gcc-c++ libxml2 libxml2-devel openssl openssl-devel bzip2 bzip2-devel libcurl libcu ...

  9. Ubuntu18.04 修改DNS

    Ubuntu18.04 修改DNS sudo vim /etc/systemd/resolved.conf 修改如下: [Resolve] DNS=119.29.29.29 保存退出后 systemc ...

随机推荐

  1. java 传入用户名和密码并自动提交表单实现登录到其他系统

    不用单点登录,模拟远程项目的登录页面表单,在访问这个页面的时候自动提交表单到此项目的登录action,就可以实现登录到其他系统. ssh框架项目 1.以下是本地系统的action代码: import ...

  2. cordova 和 java ( JDK ) 和 android-studio (SDK)的初始安装和配置

    一:前言(2018) 之前封装APP都是用的HBuilder结合mui来封装的简单app,有空的时候想研究下之前的phonegap来封装app.然后遇到的问题还是蛮多的,毕竟之前没弄过. 下面的步骤主 ...

  3. 使用HTML CSS制作简易三角形和旗帜

    HTML:     <!DOCTYPE html> <html lang="en"> <head> <meta charset=" ...

  4. 高射炮打蚊子,杀鸡用绝世好剑:在SAP Kyma上运行UI5应用

    国人在表述"大材小用"这个场景时,总喜欢用一些实物来类比,比如:高射炮打蚊子. 英国QF 3.7英寸(94mm)高射炮,战斗全重超过9.3吨,全长近5米,最大射程约18公里,最大射 ...

  5. storm连接http需要的jar包

    将httpclient-4.5.6.jar  httpcore-4.4.10.jar这两个jar包拷贝到storm安装目录下的lib目录下 如果是集群的话,需要拷贝到集群中的每台机器上

  6. CSS基础 布局

    1.布局的基本位置 top         距离上边的距离right       距离右边的距离bottom   距离下边的距离left         距离左边的距离 去掉布局时 html 的3mm ...

  7. 美团Java工程师面试题(2018秋招)

    第一次面试 1.小数是怎么存的 2.算法题:N二进制有多少个1 3.Linux命令(不熟悉 4.JVM垃圾回收算法 5.C或者伪代码实现复制算法 6.volatile 7.树的先序中序后序以及应用场景 ...

  8. 数据库 'C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\DATA\test1.mdf' 已存在。请选择其他数据库

    关于asp.net编译中出现 数据库 'C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\DATA\test1.md ...

  9. Linux高级网络设置——将多个网卡设置成一个网卡

    Linux下可以设置网卡模式 模式0:负载均衡 模式1:主备模式,不提高网络带宽 模式3:多网卡同时发送相同的数据 准备实验环境: Redhat 6.4 企业版64位,最小化安装. 给虚拟机添加网卡 ...

  10. PAT Basic 1055 集体照 (25 分)

    拍集体照时队形很重要,这里对给定的 N 个人 K 排的队形设计排队规则如下: 每排人数为 /(向下取整),多出来的人全部站在最后一排: 后排所有人的个子都不比前排任何人矮: 每排中最高者站中间(中间位 ...