LoginSignup
1
1

More than 5 years have passed since last update.

systemctl用にserviceを追加したのに反映されなかったとき

Posted at

状況

/usr/lib/systemd/systemにサービスを追加して、systemctl startをしようとしても呼ばれなかった。

やったこと

・systemctl enable からの systemctl start

本当に登録されていないのか試す意味でsystemctl enableを試すと、正常にシンボリックリンクが作成された。

あれ?と思ってもう一度systemctl startをすると何故か起動できた。

なので、もしstartができなかったら enable からの start を試して見るべし。

1
1
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
1