统信桌面操作系统专业版V20(1070) Linux uos 5.10.97-arm64-desktop
root@uos:/etc/systemd/system# ls basic.target.wants display-manager.service printer.target.wants bluetooth.target.wants dmcg.service sockets.target.wants cryptsetup.target.wants getty.target.wants suspend.target.wants dbus-fi.w1.wpa_supplicant1.service graphical.target.wants sysinit.target.wants dbus-org.bluez.service hibernate.target.wants syslog.service dbus-org.freedesktop.ModemManager1.service hostapd.service systemd-rfkill.service dbus-org.freedesktop.nm-dispatcher.service local-fs.target.d systemd-rfkill.socket dbus-org.freedesktop.timesync1.service multi-user.target.wants timers.target.wants default.target network-online.target.wants udcp-iam-cleanup.service default.target.wants ppts.service umount.target.requires root@uos:/etc/systemd/system# cd default.target.wants/ root@uos:/etc/systemd/system/default.target.wants# ls haveged.service zram_swap.service root@uos:/etc/systemd/system/default.target.wants# cat haveged.service [Unit] Description=Entropy daemon using the HAVEGE algorithm Documentation=man:haveged(8) http://www.issihosts.com/haveged/ DefaultDependencies=no ConditionVirtualization=!container After=apparmor.service systemd-random-seed.service systemd-tmpfiles-setup.service Before=sysinit.target shutdown.target [Service] EnvironmentFile=-/etc/default/haveged ExecStart=/usr/sbin/haveged --Foreground --verbose=1 $DAEMON_ARGS SuccessExitStatus=143 SecureBits=noroot-locked NoNewPrivileges=yes CapabilityBoundingSet=CAP_SYS_ADMIN PrivateTmp=yes PrivateDevices=yes PrivateNetwork=yes ProtectSystem=full ProtectHome=yes [Install] WantedBy=default.target root@uos:/etc/systemd/system/default.target.wants# cat zram_swap.service [Unit] Description=Create swap space on zram [Service] Type=oneshot ExecStart=/usr/bin/zram_swap RemainAfterExit=yes [Install] WantedBy=default.target root@uos:/etc/systemd/system/default.target.wants#
不忘初心,科普频道开张拉,欢迎订阅。
Featured Collection
Popular Ranking
Popular Events
uos基础 default.target.wants 查看wants目录文件