Locked History Actions

Diff for "Linux/centos7"

Differences between revisions 2 and 3
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
[[http://qiita.com/tukiyo3/items/092fc32318bd3d1a0846]]
== emacsでsystemctlコマンドを使用すると警告が出る ==

{{{
WARNING: terminal is not fully functional
- (press RETURN)
}}}

この場合
{{{
export PAGER=/bin/cat
}}}
とする。

== systemctlのまとめ ==

=== サービスの一覧と状態のリスト ===

{{{
systemctl list-unit-files -t service
}}}

enable: 自動起動、disable:起動不可、static:単体では自動起動できない。

単一のサービスについて確認するには以下。

{{{
systemctl is-enabled サービス名.service
}}}

=== 自動起動の設定 ===

* systemctl enable サービス名.service
* systemctl disable サービス名.service





== 参考 ==

* [[http://qiita.com/tukiyo3/items/092fc32318bd3d1a0846]]

centos7

emacsでsystemctlコマンドを使用すると警告が出る

WARNING: terminal is not fully functional
-  (press RETURN)

この場合

export PAGER=/bin/cat

とする。

systemctlのまとめ

サービスの一覧と状態のリスト

systemctl list-unit-files -t service

enable: 自動起動、disable:起動不可、static:単体では自動起動できない。

単一のサービスについて確認するには以下。

systemctl is-enabled サービス名.service

自動起動の設定

* systemctl enable サービス名.service * systemctl disable サービス名.service

参考

* http://qiita.com/tukiyo3/items/092fc32318bd3d1a0846