Ubuntu で、コマンドラインからサービスを起動、再起動、停止する方法

以前、Drupal を Ubuntu で動かす方法でも書いたのだが、Ubuntu で

# apt-get install debian-helper-scripts

としておくと、

/etc/init.d/apache2 restart

とするところは

service apache2 restart

とできるので便利である。これは、Fedora ではデフォルトで使える技。

Comments

Submitted by Anonymous (not verified) on 2008/02/16 - 00:28

Permalink

s/cpde/code/