該当プロセスの stdin に stop って入力するのが正しいシャットダウン方法っぽいので、起動時に適当に PID をファイルか何かに保存して停止時に echo "stop" > /proc/$(cat pidfile)/fd/0 とかするのがいいと思いました
該当プロセスの stdin に stop って入力するのが正しいシャットダウン方法っぽいので、起動時に適当に PID をファイルか何かに保存して停止時に echo "stop" > /proc/$(cat pidfile)/fd/0 とかするのがいいと思いました
GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.
All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.