{"id":2031,"date":"2015-08-09T18:06:49","date_gmt":"2015-08-09T09:06:49","guid":{"rendered":"http:\/\/tech.akat.info\/?p=2031"},"modified":"2016-01-03T20:21:41","modified_gmt":"2016-01-03T11:21:41","slug":"systemd","status":"publish","type":"post","link":"https:\/\/tech.akat.info\/?p=2031","title":{"rendered":"systemd"},"content":{"rendered":"<p>init\u306e\u5b9f\u88c5\u3068\u3057\u3066sysvinit\u3084Upstart\u3084systemd\u304c\u3042\u308b<br \/>\ndebian8\u304b\u3089\u63a1\u7528\u3055\u308c\u305f<\/p>\n<h1>systemd\u7279\u5fb4<\/h1>\n<p>\u30fbLinux\u30b5\u30fc\u30d0\u306e\u8d77\u52d5\u6642\u306b\u521d\u671f\u8a2d\u5b9a\u3084\u30b5\u30fc\u30d3\u30b9\u8d77\u52d5\u3092\u304a\u3053\u306a\u3046\u3060\u3051\u3067\u306a\u304f\u30d7\u30ed\u30bb\u30b9\u3084\u30ea\u30bd\u30fc\u30b9\u306a\u3069\u69d8\u3005\u306a\u7ba1\u7406\u3092\u304a\u3053\u306a\u3046\u30c7\u30fc\u30e2\u30f3<br \/>\n\u30fbsysvinit\u3068\u9055\u3044\u3001\u30b5\u30fc\u30d3\u30b9\u3092\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u3067\u306f\u306a\u304f\u3001Unit\u3068\u3044\u3046\u5358\u4f4d\u3067\u7ba1\u7406\u3057\u3001\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3068\u3057\u3066\u6301\u3064<br \/>\n\u3000\u305d\u306e\u305f\u3081\u51e6\u7406\u306e\u7d30\u5206\u5316\u3068\u500b\u5225\u5b9f\u884c\u3001\u4f9d\u5b58\u95a2\u4fc2\u306e\u8a2d\u5b9a\u3001\u4e26\u5217\u5b9f\u884c\u306a\u3069\u304c\u53ef\u80fd<br \/>\n\u3000Unit\u306f\u3001\u300ctarget\u300d\u300cmount\u300d\u300cservice\u300d\u300cdevice\u300d\u306a\u3069\u3001\u30bf\u30a4\u30d7\u304c\u3042\u308b<br \/>\n\u30fb\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u306efsck\u3084\u30de\u30a6\u30f3\u30c8\u306a\u3069\u3082\u500b\u5225\u306eUnit\u3068\u3057\u3066\u63d0\u4f9b\u3055\u308c\u3066\u3044\u308b<br \/>\n\u3000systemd\u306f\u3001\u9806\u5e8f\u95a2\u4fc2\u3084\u4f9d\u5b58\u95a2\u4fc2\u60c5\u5831\u3092\u3082\u3068\u306b\u3057\u3066\u3001\u8907\u6570\u306eUnit\u3092\u3067\u304d\u308b\u304b\u304e\u308a\u4e26\u5217\u306b\u8d77\u52d5\u3057\u3066\u3044\u304f<br \/>\n\u30fb\u30d7\u30ed\u30bb\u30b9\u505c\u6b62\u51e6\u7406\u3092\u6a19\u6e96\u6a5f\u80fd\u3068\u3057\u3066\u642d\u8f09\u3057\u3066\u3044\u308b<br \/>\n\u30fb\u30d7\u30ed\u30bb\u30b9\u8d77\u52d5\u304c\u67d4\u8edf\u306b\u5b9f\u65bd\u53ef\u80fd(\u30b7\u30b9\u30c6\u30e0\u8d77\u52d5\u6642\u3060\u3051\u3067\u306a\u304f\u3001\u30bf\u30a4\u30de\u30fc\u3084\u30bd\u30b1\u30c3\u30c8\u901a\u4fe1\u306a\u3069\u69d8\u3005\u306a\u30c8\u30ea\u30ac\u30fc\u3092\u5951\u6a5f\u306b\u30d7\u30ed\u30bb\u30b9\u306e\u8d77\u52d5\u304c\u53ef\u80fd)<br \/>\n\u30fbsysvinit\u306fPID\u3067\u30b5\u30fc\u30d3\u30b9\u3092\u7ba1\u7406\u3059\u308b\u304c\u3001systemd\u3067\u306fcgroup\u306b\u3088\u3063\u3066\u7ba1\u7406\u3059\u308b(cgroup\u306flinux\u30ab\u30fc\u30cd\u30eb\u306e\u6a5f\u80fd\u306a\u306e\u3067\u4ed6\u306eOS\u3067\u306fsystemd\u306f\u5229\u7528\u3067\u304d\u306a\u3044)<br \/>\n\u30fb\u30e9\u30f3\u30ec\u30d9\u30eb(rc.d)\u306e\u69cb\u9020\u3092\u7528\u3044\u306a\u3044\u305f\u3081\u3001chkconfig sysv-rc-conf\u7b49\u65e7\u30c4\u30fc\u30eb\u3067\u306f\u307b\u307c\u5f79\u306b\u7acb\u305f\u306a\u3044<br \/>\n\u30fbUnit\u5b9a\u7fa9\u30d5\u30a1\u30a4\u30eb\u306f \/usr\/lib\/systemd(\u30b7\u30b9\u30c6\u30e0\u30c7\u30d5\u30a9\u30eb\u30c8)\u30fb\/etc\/systemd\/system(\u7ba1\u7406\u8005\u304c\u30ab\u30b9\u30bf\u30de\u30a4\u30ba) \u306b\u3042\u308b<br \/>\n\u30fb<a href=\"http:\/\/tokyodebian.alioth.debian.org\/pdf\/debianmeetingresume201211-presentation-iwamatsu.pdf\">\u6771\u4eac\u30a8\u30ea\u30a2Debian\u52c9\u5f37\u4f1a<\/a>\u3088\u308a\u69cb\u9020\u306b\u3064\u3044\u3066<br \/>\n<a href=\"http:\/\/tech.akat.info\/wp-content\/uploads\/2015\/08\/2016-01-03_195446.png\" rel=\"attachment wp-att-2432\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/tech.akat.info\/wp-content\/uploads\/2015\/08\/2016-01-03_195446.png\" alt=\"2016-01-03_195446\" width=\"743\" height=\"574\" class=\"alignnone size-full wp-image-2432\" \/><\/a><\/p>\n<h2>Unit\u306e\u30bf\u30a4\u30d7<\/h2>\n<p><a href=\"http:\/\/tech.akat.info\/wp-content\/uploads\/2015\/08\/debian_2015-05-09_111910.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/tech.akat.info\/wp-content\/uploads\/2015\/08\/debian_2015-05-09_111910-300x119.png\" alt=\"debian_2015-05-09_111910\" width=\"300\" height=\"119\" class=\"alignnone size-medium wp-image-2033\" srcset=\"https:\/\/tech.akat.info\/wp-content\/uploads\/2015\/08\/debian_2015-05-09_111910-300x119.png 300w, https:\/\/tech.akat.info\/wp-content\/uploads\/2015\/08\/debian_2015-05-09_111910-660x261.png 660w, https:\/\/tech.akat.info\/wp-content\/uploads\/2015\/08\/debian_2015-05-09_111910.png 784w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<h1>systemd\u64cd\u4f5c<\/h1>\n<h2>\/sbin\/init<\/h2>\n<p>\/sbin\/init\u306f\u30d6\u30fc\u30c8\u30b7\u30fc\u30b1\u30f3\u30b9\u306e\u6700\u5f8c\u3001\u30e6\u30fc\u30b6\u7a7a\u9593\u3067\u6700\u521d\u306b\u5b9f\u884c\u3055\u308c\u308b\u30d7\u30ed\u30b0\u30e9\u30e0<br \/>\nsystemd\u304c\u8d77\u52d5\u3059\u308b\u3053\u3068\u304c\u308f\u304b\u308b<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nroot@hostname:\/home\/shimizu# ls -alh \/sbin\/init\r\nlrwxrwxrwx 1 root root 20  4\u6708 17 00:53 \/sbin\/init -&gt; \/lib\/systemd\/systemd\r\n<\/pre>\n<h2>\u64cd\u4f5c\u3067\u304d\u308b\u3059\u3079\u3066\u306e\u30e6\u30cb\u30c3\u30c8\u3092\u8868\u793a\u3059\u308b<\/h2>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nroot@hostname:\/home\/shimizu# systemctl --all\r\n  UNIT                                                                                LOAD      ACTIVE   SUB       DESCRIPTION\r\n  proc-sys-fs-binfmt_misc.automount                                                   loaded    active   running   Arbitrary Executable File Formats File System Automount Point\r\n  dev-cdrom.device                                                                    loaded    active   plugged   QEMU_DVD-ROM\r\n...\r\n<\/pre>\n<h2>\u8d77\u52d5\u3057\u3066\u3044\u308b\u30e6\u30cb\u30c3\u30c8\u3092\u8868\u793a\u3059\u308b<\/h2>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nroot@hostname:\/home\/shimizu# systemctl\r\n  UNIT                                                                                LOAD   ACTIVE SUB       DESCRIPTION\r\n  proc-sys-fs-binfmt_misc.automount                                                   loaded active running   Arbitrary Executable File Formats File System Automount Point\r\n  sys-devices-pci0000:00-0000:00:01.1-ata2-host1-target1:0:0-1:0:0:0-block-sr0.device loaded active plugged   QEMU_DVD-ROM\r\n  sys-devices-pci0000:00-0000:00:03.0-virtio0-net-eth0.device                         loaded active plugged   Virtio network device\r\n  sys-devices-pci0000:00-0000:00:04.0-virtio1-net-eth1.device                         loaded active plugged   Virtio network device\r\n...\r\n<\/pre>\n<h2>\u30b5\u30fc\u30d3\u30b9\u4e00\u89a7\u306e\u8868\u793a<\/h2>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nroot@hostname:\/home\/shimizu# systemctl --type service\r\nUNIT                               LOAD   ACTIVE SUB     DESCRIPTION\r\nacpid.service                      loaded active running ACPI event daemon\r\napache2.service                    loaded active exited  LSB: Apache2 web server\r\narno-iptables-firewall.service     loaded active exited  LSB: Setup iptables firewall configuration\r\n...\r\n<\/pre>\n<h2>\u30e6\u30cb\u30c3\u30c8\u306e\u8a73\u7d30\u3092\u78ba\u8a8d\u3059\u308b<\/h2>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nroot@hostname:\/home\/shimizu# systemctl show apache2.service\r\nType=forking\r\nRestart=no\r\nNotifyAccess=none\r\nRestartUSec=100ms\r\n...\r\n<\/pre>\n<h2>systemd-cgls<\/h2>\n<p>cgroups\u306f\u3001Kernel\u304c\u6301\u3064\u6a5f\u80fd\u306e1\u3064<br \/>\nCPU\u3084\u30e1\u30e2\u30ea\u306a\u3069\u306e\u30ea\u30bd\u30fc\u30b9\u3092\u30d7\u30ed\u30bb\u30b9\u30b0\u30eb\u30fc\u30d7\u3054\u3068\u306b\u5272\u308a\u5f53\u3066\u3066\u3044\u308b<br \/>\n\u5404\u30b0\u30eb\u30fc\u30d7\u306e\u968e\u5c64\u306b\u3064\u3044\u3066\u306f\u3001systemd-cgls\u30b3\u30de\u30f3\u30c9\u3067\u78ba\u8a8d\u3067\u304d\u308b<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nroot@hostname:\/home\/shimizu# systemd-cgls\r\n\u251c\u25001 \/lib\/systemd\/systemd --system --deserialize 16\r\n\u2514\u2500system.slice\r\n  \u251c\u2500dbus.service\r\n  \u2502 \u2514\u2500893 \/usr\/bin\/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation\r\n  \u251c\u2500cron.service\r\n  \u2502 \u251c\u2500  884 \/usr\/sbin\/cron -f\r\n  \u2502 \u2514\u250021065 \/usr\/sbin\/lpd -s\r\n...\r\n<\/pre>\n<h2>systemd-analyze<\/h2>\n<p>boot\u6642\u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3092\u78ba\u8a8d\u3059\u308b<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nroot@hostname:\/home\/shimizu# systemd-analyze\r\nStartup finished in 1.568s (kernel) + 6.244s (userspace) = 7.813s\r\n<\/pre>\n<p>\u4f9d\u5b58\u95a2\u4fc2\u3092\u8868\u3059\u30b0\u30e9\u30d5\u3092\u4f5c\u6210\u53ef\u80fd<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nroot@hostname:\/home\/shimizu# systemd-analyze dot | dot -Tsvg &gt; systemd.svg\r\n   Color legend: black     = Requires\r\n                 dark blue = Requisite\r\n                 dark grey = Wants\r\n                 red       = Conflicts\r\n                 green     = After\r\n<\/pre>\n<p><a href=\"http:\/\/tech.akat.info\/wp-content\/uploads\/2015\/08\/2016-01-03_201952.png\" rel=\"attachment wp-att-2434\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/tech.akat.info\/wp-content\/uploads\/2015\/08\/2016-01-03_201952.png\" alt=\"2016-01-03_201952\" width=\"1129\" height=\"552\" class=\"alignnone size-full wp-image-2434\" \/><\/a><\/p>\n<h2>systemd-detect-virt<\/h2>\n<p>\u4eee\u60f3\u74b0\u5883\u3092\u78ba\u8a8d\u3059\u308b<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nroot@hostname:\/home\/shimizu# systemd-detect-virt\r\nkvm\r\n<\/pre>\n<h2>\u6709\u52b9\u5316\u3055\u308c\u3066\u3044\u308bUnit\u306e\u4e00\u89a7\u8868\u793a<\/h2>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nroot@hostname:\/home\/shimizu# systemctl list-units\r\nUNIT                        LOAD   ACTIVE SUB       DESCRIPTION\r\nproc-sys-fs-binfmt_misc.automount loaded active running   Arbitrary Executable File Fo\r\nsys-devices-pci0000:00-0000:00:05.0-virtio2-net-eth2.device loaded active plugged   Virtio network device\r\nsys-devices-platform-serial8250-tty-ttyS3.device loaded active plugged   \/sys\/devices\/platform\/serial\r\nsys-devices-pnp0-00:04-tty-ttyS0.device loaded active plugged   \/sys\/devices\/pnp0\/00:04\/tty\/\r\nsys-subsystem-net-devices-eth0.device loaded active plugged   Virtio network device\r\ndev-mqueue.mount            loaded active mounted   POSIX Message Queue File Sys\r\nproc-sys-fs-binfmt_misc.mount loaded active mounted   Arbitrary Executable File Fo\r\ncron.service                loaded active running   Regular background program p\r\ndbus.service                loaded active running   D-Bus System Message Bus\r\nelasticsearch.service       loaded active running   LSB: Starts elasticsearch\r\n...\r\n<\/pre>\n<h2>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308bUnit\u30d5\u30a1\u30a4\u30eb\u306e\u4e00\u89a7\u8868\u793a<\/h2>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nroot@hostname:\/home\/shimizu# systemctl list-unit-files\r\nproc-sys-fs-binfmt_misc.automount      static\r\ndev-hugepages.mount                    static\r\ndev-mqueue.mount                       static\r\nproc-sys-fs-binfmt_misc.mount          static\r\nsys-fs-fuse-connections.mount          static\r\n...\r\n\r\n### \u4ee5\u4e0b\u306fchkconfig --list\u306b\u76f8\u5f53 ###\r\nroot@hostname:\/home\/shimizu# systemctl list-unit-files --type=service\r\nUNIT FILE                              STATE\r\nacpid.service                          ^&#x5B;&#x5B;1;31mdisabled^&#x5B;&#x5B;0m\r\nautovt@.service                        ^&#x5B;&#x5B;1;31mdisabled^&#x5B;&#x5B;0m\r\nbootlogd.service                       ^&#x5B;&#x5B;1;31mmasked  ^&#x5B;&#x5B;0m\r\nbootlogs.service                       ^&#x5B;&#x5B;1;31mmasked  ^&#x5B;&#x5B;0m\r\nbootmisc.service                       ^&#x5B;&#x5B;1;31mmasked  ^&#x5B;&#x5B;0m\r\n...\r\n\r\n<\/pre>\n<h2>Unit\u64cd\u4f5c<\/h2>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n### \u505c\u6b62\/\u8d77\u52d5\/\u518d\u8d77\u52d5\/\u518d\u8aad\u307f\u8fbc\u307f ###\r\nroot@hostname:\/home\/shimizu# systemctl (stop\/start\/restart\/reload) unit\r\n\r\n### systemd \u3092\u30ea\u30ed\u30fc\u30c9\u3057\u3001\u65b0\u3057\u3044\u3001\u3082\u3057\u304f\u306f\u5909\u5316\u306e\u3042\u3063\u305f\u30e6\u30cb\u30c3\u30c8\u3092\u30b9\u30ad\u30e3\u30f3\u3059\u308b ###\r\nroot@hostname:\/home\/shimizu# systemctl daemon-reload\r\n<\/pre>\n<h2>Unit\u306e\u30ed\u30b0\u3092\u8868\u793a<\/h2>\n<p>systemd\u306fUnit\u3068\u3057\u3066\u8d77\u52d5\u3057\u305f\u30c7\u30fc\u30e2\u30f3\u30d7\u30ed\u30bb\u30b9\u306e\u6a19\u6e96\u51fa\u529b\u3001rsyslogd\u3078\u306e\u51fa\u529b\u5185\u5bb9\u3092\u72ec\u81ea\u306e\u30ed\u30ae\u30f3\u30b0\u30b5\u30fc\u30d3\u30b9(systemd-journald.service)\u306b\u9001\u308b<br \/>\n\u30d0\u30a4\u30ca\u30ea\u5f62\u5f0f\u3067\u4fdd\u5b58\u3055\u308c\u308b\u305f\u3081jounalctl\u30b3\u30de\u30f3\u30c9\u3067\u78ba\u8a8d\u3059\u308b<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nroot@hostname:\/home\/shimizu# journalctl -u ssh.service\r\n-- Logs begin at \u571f 2015-08-08 03:24:02 JST, end at \u65e5 2015-08-09 23:51:20 JST. --\r\n 8\u6708 08 22:19:45 hostname sshd&#x5B;19384]: Accepted password for shimizu from 119.150.43.89 port 59218 ssh2\r\n 8\u6708 08 22:19:45 hostname sshd&#x5B;19384]: pam_unix(sshd:session): session opened for user shimizu by (uid=0)\r\n...\r\n<\/pre>\n<h2>Unit\u3092\u6709\u52b9\u306b\u3059\u308b<\/h2>\n<p>chkconfig httpd on \u3068\u540c\u7fa9<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nroot@hostname:\/home\/shimizu# systemctl enable apache2\r\nSynchronizing state for apache2.service with sysvinit using update-rc.d...\r\nExecuting \/usr\/sbin\/update-rc.d apache2 defaults\r\ninsserv: warning: script 'K01denyhosts' missing LSB tags and overrides\r\ninsserv: warning: script 'denyhosts' missing LSB tags and overrides\r\nExecuting \/usr\/sbin\/update-rc.d apache2 enable\r\ninsserv: warning: script 'K01denyhosts' missing LSB tags and overrides\r\ninsserv: warning: script 'denyhosts' missing LSB tags and overrides\r\n<\/pre>\n<h2>Unit\u304c\u6709\u52b9\u304b\u3069\u3046\u304b\u78ba\u8a8d\u3059\u308b<\/h2>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nroot@hostname:\/home\/shimizu# systemctl is-enabled ssh\r\nenabled\r\n<\/pre>\n<h2>Unit\u306e\u8d77\u52d5\u72b6\u614b\u306e\u78ba\u8a8d<\/h2>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nroot@hostname:\/home\/shimizu# systemctl is-active ssh\r\nactive\r\n<\/pre>\n<h2>Unit\u306e\u7570\u5e38\u72b6\u614b\u306e\u78ba\u8a8d<\/h2>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nroot@hostname:\/home\/shimizu# systemctl is-failed ssh\r\nactive\r\n<\/pre>\n<h2>Unit\u306e\u4f9d\u5b58\u95a2\u4fc2\u306e\u78ba\u8a8d<\/h2>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nroot@hostname:\/home\/shimizu# systemctl list-dependencies\r\ndefault.target\r\n^&#x5B;&#x5B;1;31m\u25cf^&#x5B;&#x5B;0m \u251c\u2500display-manager.service\r\n^&#x5B;&#x5B;1;32m\u25cf^&#x5B;&#x5B;0m \u251c\u2500elasticsearch.service\r\n^&#x5B;&#x5B;1;31m\u25cf^&#x5B;&#x5B;0m \u251c\u2500systemd-update-utmp-runlevel.service\r\n^&#x5B;&#x5B;1;32m\u25cf^&#x5B;&#x5B;0m \u2514\u2500multi-user.target\r\n^&#x5B;&#x5B;1;32m\u25cf^&#x5B;&#x5B;0m   \u251c\u2500cron.service\r\n^&#x5B;&#x5B;1;32m\u25cf^&#x5B;&#x5B;0m   \u251c\u2500dbus.service\r\n^&#x5B;&#x5B;1;32m\u25cf^&#x5B;&#x5B;0m   \u251c\u2500elasticsearch.service\r\n^&#x5B;&#x5B;1;32m\u25cf^&#x5B;&#x5B;0m   \u251c\u2500rc-local.service\r\n<\/pre>\n<p>\u6307\u5b9aUnit\u3088\u308a\u5148\u306b\u8d77\u52d5\u3059\u308bUnit\u3092\u30c4\u30ea\u30fc\u8868\u793a\u3059\u308b<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nroot@hostname:\/home\/shimizu# systemctl list-dependencies ssh --after\r\nssh.service\r\n^&#x5B;&#x5B;1;31m\u25cf^&#x5B;&#x5B;0m \u251c\u2500auditd.service\r\n^&#x5B;&#x5B;1;32m\u25cf^&#x5B;&#x5B;0m \u251c\u2500system.slice\r\n^&#x5B;&#x5B;1;32m\u25cf^&#x5B;&#x5B;0m \u251c\u2500systemd-journald.socket\r\n^&#x5B;&#x5B;1;32m\u25cf^&#x5B;&#x5B;0m \u251c\u2500basic.target\r\n^&#x5B;&#x5B;1;32m\u25cf^&#x5B;&#x5B;0m \u2502 \u251c\u2500paths.target\r\n^&#x5B;&#x5B;1;32m\u25cf^&#x5B;&#x5B;0m \u2502 \u2502 \u251c\u2500acpid.path\r\n^&#x5B;&#x5B;1;32m\u25cf^&#x5B;&#x5B;0m \u2502 \u2502 \u251c\u2500systemd-ask-password-console.path\r\n^&#x5B;&#x5B;1;32m\u25cf^&#x5B;&#x5B;0m \u2502 \u2502 \u2514\u2500systemd-ask-password-wall.path\r\n...\r\n<\/pre>\n<h2>service\u30b3\u30de\u30f3\u30c9\u306e\u5229\u7528\u306b\u3064\u3044\u3066<\/h2>\n<p>service\u30b3\u30de\u30f3\u30c9\u306e\u5b9f\u4f53\u306f\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u3067\u3001<br \/>\n\/etc\/init.d \u4ee5\u4e0b\u306b\u6307\u5b9a\u3055\u308c\u305f\u30b5\u30fc\u30d3\u30b9\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u304c\u3042\u308c\u3070\u305d\u308c\u3092\u5b9f\u884c<br \/>\n\u7121\u3051\u308c\u3070systemctl\u30b3\u30de\u30f3\u30c9\u306b\u30b5\u30fc\u30d3\u30b9\u540d\u3092\u6e21\u3057\u3066\u5b9f\u884c\u3059\u308b<\/p>\n<h1>\u53c2\u8003<\/h1>\n<p>init<br \/>\nhttps:\/\/mowa-net.jp\/wiki\/init<br \/>\nsystemd\u3092\u672c\u756a\u904b\u7528\u3057\u3066\u308f\u304b\u3063\u305f\u3053\u3068<\/p>\n<div class=\"oceanwp-oembed-wrap clr\"><iframe class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" src=\"http:\/\/alpha.mixi.co.jp\/embed\/2013\/12063\/#?secret=scDExZM7a5\" data-secret=\"scDExZM7a5\" title=\"systemd\u3092\u672c\u756a\u904b\u7528\u3057\u3066\u308f\u304b\u3063\u305f\u3053\u3068 - mixi Engineers&#039; Blog\" scrolling=\"no\" frameborder=\"0\"><\/iframe><\/div>\n<p>systemd\u8d85\u5165\u9580<br \/>\nhttp:\/\/dev.classmethod.jp\/cloud\/aws\/systemd-getting-started\/<br \/>\n\u6771\u4eac\u30a8\u30ea\u30a2Debian\u52c9\u5f37\u4f1a systemd<br \/>\nhttp:\/\/tokyodebian.alioth.debian.org\/pdf\/debianmeetingresume201211-presentation-iwamatsu.pdf<br \/>\n\u306f\u3058\u3081\u3066\u306esystemd\u30b5\u30fc\u30d3\u30b9\u7ba1\u7406\u30ac\u30a4\u30c9<br \/>\nhttp:\/\/dev.classmethod.jp\/cloud\/aws\/service-control-use-systemd\/<br \/>\nLinux\u5973\u5b50\u90e8\u3000systemd\u5fb9\u5e95\u5165\u9580<\/p>\n<div class=\"oceanwp-oembed-wrap clr\"><iframe loading=\"lazy\" src=\"https:\/\/www.slideshare.net\/slideshow\/embed_code\/key\/hSyDD8PWLIl9nZ\" width=\"427\" height=\"356\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\" style=\"border:1px solid #CCC; border-width:1px; margin-bottom:5px; max-width: 100%;\" allowfullscreen> <\/iframe> <\/p>\n<div style=\"margin-bottom:5px\"> <strong> <a href=\"https:\/\/www.slideshare.net\/enakai\/linux-27872553\" title=\"Linux\u5973\u5b50\u90e8\u3000systemd\u5fb9\u5e95\u5165\u9580\" target=\"_blank\">Linux\u5973\u5b50\u90e8\u3000systemd\u5fb9\u5e95\u5165\u9580<\/a> <\/strong> from <strong><a href=\"http:\/\/www.slideshare.net\/enakai\" target=\"_blank\">Etsuji Nakai<\/a><\/strong> <\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>init\u306e\u5b9f\u88c5\u3068\u3057\u3066sysvinit\u3084Upstart\u3084systemd\u304c\u3042\u308b debian8\u304b\u3089\u63a1\u7528\u3055\u308c\u305f systemd\u7279\u5fb4 \u30fbLinux\u30b5\u30fc\u30d0\u306e\u8d77\u52d5\u6642\u306b\u521d\u671f\u8a2d\u5b9a\u3084\u30b5\u30fc\u30d3\u30b9\u8d77\u52d5\u3092\u304a\u3053\u306a\u3046\u3060\u3051\u3067\u306a\u304f\u30d7\u30ed\u30bb\u30b9\u3084\u30ea\u30bd\u30fc\u30b9\u306a\u3069\u69d8 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[75],"tags":[],"_links":{"self":[{"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/posts\/2031"}],"collection":[{"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tech.akat.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2031"}],"version-history":[{"count":7,"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/posts\/2031\/revisions"}],"predecessor-version":[{"id":2435,"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/posts\/2031\/revisions\/2435"}],"wp:attachment":[{"href":"https:\/\/tech.akat.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2031"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tech.akat.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2031"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tech.akat.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2031"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}