GithubHelp home page GithubHelp logo

Comments (1)

kanreisa avatar kanreisa commented on April 28, 2024

初投稿ありがとうございます。

issue を投稿する際はできる限りご自分の環境情報を記載してください。
我々は皆さんの環境について何一つ知りません。
全ての issue に対して対話方式で探っていくのは非常に大変なことです。
ご協力をお願いいたします。

When reporting an issue we also need as much information about your environment that you can include. We never know what information will be pertinent when trying narrow down the issue.
(from contribution guidelines)

--

mirakurunをrootでなくユーザーで動かしたいのですが、できないでしょうか?

Docker を利用する (推奨) か、下記のようなコマンドでユーザーで動かせます。
npm 経由でインストールしても直接ディレクトリで npm start すれば動きます。
設定ファイル等はこちらの環境変数で変更できます。

git clone [email protected]:Chinachu/Mirakurun.git
cd Mirakurun
npm install
npm run build
npm run start
# pm2 を使う場合
pm2 start processes.json
# 以降 pm2 コマンドで直接管理できる

mirakurunがrootを要求している理由はどういったものでしょうか?

現在は主に下記の通りです

  • renice と ionice をしないとTSの配信でプチフリが発生するため
    • ご自分で renice と ionice を実行するか、リアルタイム視聴をしないのであれば大抵問題ありません
  • mirakurun コマンドは root で動いている pm2 のみを操作する
    • ユーザーでも root でも実行できるようにしてしまうと、pm2 プロセスがユーザーごとに多重に起動してしまいます

ご質問があれば Discord でお願いいたします。
どうぞよろしくお願いいたします。

from mirakurun.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.