LoginSignup
1
2

More than 5 years have passed since last update.

CentOS 7からsystemctlに変わってスタートアップスクリプトをいじるのが大変だった

Posted at

はじめに

CentOS7からデーモンの管理にserviceからsystemctlを使うようになりました。
以前までは起動スクリプトを変更するときは/etc/init.dとかを見れば良かったんですが、今はありません。
どこにあるのか謎だったのですが調べたところ /usr/lib/systemd/system にありました。

起動スクリプトに起動時のオプションが含まれていてそれを変更したい場合にはこのディレクトリを参照すれば良さそうです。

Screen Shot 2016-10-12 at 23.27.43.png

忘れそうなのでメモ。

1
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
2