0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Homebridgeを簡単にデーモン化する

Posted at

大変そう

一般的に紹介されている方法だと自分の環境じゃなんかうまくいかないし大変そう
でもデーモン化しないと色々と面倒
Homebridgeもnodejsで動くのでpm2でいけるんじゃね?って思ったら普通にいけました

やり方

sudo npm install pm2 -g
pm2 startup
pm2 start homebridge
pm2 save

終わりっ!
簡単ですね

リンク

Homebridge公式に普通に乗ってました
https://github.com/nfarina/homebridge/wiki/Running-HomeBridge-on-a-Raspberry-Pi#running-homebridge-on-boot-using-pm2

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?