Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

初期設定ファイルとその生成方法を整理したい #26

Open
dynamis opened this issue Nov 13, 2019 · 0 comments
Open

初期設定ファイルとその生成方法を整理したい #26

dynamis opened this issue Nov 13, 2019 · 0 comments

Comments

@dynamis
Copy link
Contributor

dynamis commented Nov 13, 2019

install.sh から設定ファイルのテンプレートを分離すべき

install.sh では /boot/setting 配下などにいろいろな設定テキストファイルを作成するが、これらのファイルはシェルスクリプト中にヒアドキュメントでべた書きすべきではなく、テンプレートファイルとして個別のファイルにしてあるものをスクリプトで読み込んで変数置き換えした上で出力するべき。

setting/{config.js|rclone.conf} は必要なのか

install.sh では config.js などをヒアドキュメントから生成しているが同じもの?が setting ディレクトリの config.js ファイルなどとして存在する。使ってないなら消すというか、上記の通りテンプレートとして使う形にすべき

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant