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: 290, today: 1, yesterday: 0
Last-modified: 2020-08-23 (Sun) 15:27:40 (JST) (1351d) 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

105 user(s) are online (13 user(s) are browsing xpwiki)

Members: 0
Guests: 105

more...

Access Counter

Today : 7530753075307530
Yesterday : 1716817168171681716817168
Total : 2350399123503991235039912350399123503991235039912350399123503991
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com