= 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 enable サービス名.service * systemctl disable サービス名.service === 現在のサービスの状態表示 === {{{ systemctl status サービス名.service }}} === サービスの起動と停止 === * systemctl start サービス名.service * systemctl stop サービス名.service * systemctl restart サービス名.service == 参考 == * [[http://qiita.com/tukiyo3/items/092fc32318bd3d1a0846]]