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. C++ sizeof(struct) 的注意

    今天在测试将C++代码导出的NavMesh二进制文件用一套C#改写的代码导入时,发现导入的数据出现不一致的问题. 分别在C++和C#AddTile的函数内设置断点,观察最后得到的tile有大部分的字段 ...

  2. Css制作table细线表格

    制作细线表格,我想应该是最基本的css知识了,记录下来巩固下. 推荐: table{ border-collapse:collapse; border: 1px solid #000000; } td ...

  3. python matplotlib绘制六种可视化图表

    1. 折线图 绘制折线图,如果你数据不是很多的话,画出来的图将是曲折状态,但一旦你的数据集大起来,比如下面我们的示例,有100个点,所以我们用肉眼看到的将是一条平滑的曲线. 这里我绘制三条线,只要执行 ...

  4. stm32F1 DMA

    DMA,全称是Direct Memory Access,中文意思为直接存储器访问 DMA可用于实现外设与存储器之间或者存储器与存储器之间数据传输的高效性 DMA请求映像 各通道的DMA1请求: 各通道 ...

  5. VS code C++代码没有自动提示

    用了一段时间的VS code,发现一直都没有代码提示,奇了个怪?可能是插件有问题,于是重装C/C++,clang...等插件.结果......没用,

  6. zabbix-将业务机器加入到监控中

    一.设置被监控的机器 1. 配置主机名 echo "agent.test.com" > /etc/hostname hostname agent.test.com 2.安装z ...

  7. 【python】python 自动发邮件

    一.一般发邮件的方法 Python对SMTP支持有smtplib和email两个模块,email负责构造邮件,smtplib负责发送邮件. 注意到构造MIMETEXT对象时,第一个参数就是邮件正文,第 ...

  8. python-----opencv截取按帧截取视频

    最近有需求把一个视频从指定帧截取一部分,demo代码如下: import cv2 video_path = r'F:\temp\temp_0806\1\video\test.dat' videoCap ...

  9. 向量的一种特殊乘法 element wise multiplication

    向量的一种特殊乘法 element wise multiplication 物体反射颜色的计算采用这样的模型: vec3 reflectionColor = objColor * lightColor ...

  10. jQuery效果函数

    jQuery有很我的效果可以实现,比如说淡入淡出的效果:<html>    <head>        <style>            #box{width: ...