flagflag  
Page Top

target anchor.png

  • SysVinit の runlevel の代わり
    runleveltarget
    0poweroff
    1rescue
    2,3multi-user
    4(未使用)
    5graphical
    6reboot
  • 現在の target
    • systemctl get-default
       
Page Top
target の変更 anchor.png
  • systemctl set-default multi-user
  • reboot
     
Page Top

Service anchor.png

  • /usr/lib/systemd/system/ にサービスの起動用ファイルを置く
    • 例:/usr/lib/systemd/system/apache.service
  • systemctl enable サービス名/etc/systemd/system/multi-user.target.wa​nts/サービス名.service から /usr/lib/systemd/system/ へ シンボリックリンクが張られる.
    • 例:apache.service -> /usr/lib/systemd/system/apache.service
       

Front page   Freeze Diff Backup Copy Rename Reload   New List of Pages Search Recent changes   Help   RSS of recent changes (RSS 1.0) RSS of recent changes (RSS 2.0) RSS of recent changes (RSS Atom)
Counter: 289, today: 2, yesterday: 0
Last-modified: 2020-08-23 (Sun) 15:27:40 (JST) (1348d) by iseki

Site Search

Login

Username:

Password:


Lost Password?
Register now!!

Sub Menu

mini Calendar

Last MonthMay 2024Next Month
Su Mo Tu We Th Fr Sa
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
Today

Who's Online

93 user(s) are online (28 user(s) are browsing xpwiki)

Members: 0
Guests: 93

more...

Access Counter

Today : 1261612616126161261612616
Yesterday : 7722772277227722
Total : 2344409723444097234440972344409723444097234440972344409723444097
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com