延伸閱讀
- http://www.freedesktop.org/wiki/Software/systemd/
- http://linoxide.com/linux-command/systemd-vs-sysvinit-cheatsheet/
| signal to kill init | reboot() 參數 | kernel | 動作 | |
|---|---|---|---|---|
| halt | SIGUSR1 | RB_HALT_SYSTEM (0xcdef0123) | kernel_halt() | 停止所有程式 |
| poweroff | SIGUSR2 | RB_POWER_OFF (0x4321fedc) | kernel_power_off() | 停止所有程式後關電 (關電未必有實作) |
| reboot | SIGTERM | RB_AUTOBOOT (0x01234567) | kernel_restart() | 停止所有程式後再開機 |
sudo apt-get install lxcls /usr/share/lxc/templates/ 可看到範本
sudo lxc-create -t busybox -n testsudo ls /var/lib/lxc/test 可看到建立的 rootfs 及設定
sudo lxc-start -n test
所有 SIP 訊息 都要有 Via,縮寫 v。一開始的 UAC 和後續途經的每個 proxy 都會疊加一個 Via 放傳送的位址,依序作為回應的路徑。 格式 sent-protocol sent-by [ ;branch= branch ][ ; 參數 ...] s...