
すべてのプロセスをcronに追加するにはどうすればよいですか?刑務所を自動的にアップグレードする方法はありますか?
次の手順を完了した後:
# make buildworld
# make installworld DESTDIR=/jails/somejail
これで、次のことを行う時間です。
# mergemaster -Ui -D /jails/somejail
この作業中に(マージマスターを意味する)多くの質問があるので、このプロセスを自動化する方法は?私のすべてのプロフィールを同じにしておきたいです。
答え1
すべての設定ファイルを変更せずに維持することは危険です。したがって、私はこれを行うことをお勧めしません。つまり、mergemasterにはすべてを自動的に処理するオプションがあります。mergemaster(8)
マンページから:
-a Run automatically. This option will leave all the files that differ from the installed versions in the temporary directory to be dealt with by hand. If the temproot directory exists, it creates a new one in a previously non-existent directory. This option unsets the verbose flag, and is not compatible with -i, -F, or -U. Setting -a makes -w superfluous.
刑務所を自動化したい場合、およびezjail
すべての刑務所の管理を詳細に検討することをお勧めしますqjail
。これらはすでに刑務所の更新を自動的に処理する機能を提供します。