ubuntuのサービスに登録方法でちょっと迷ったのでメモ。 1、スクリプト作成。 基本的に/etc/init.d/skeletonにあるスクリプトを参考に作成する。 冒頭にお約束として、 #!/bin/sh ### BEGIN INIT INFO # Provides: example_script # Required-Start: $local_fs $remote_fs $network $named # Required-Stop: $local_fs $remote_fs # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: example_script initscript # Description: This file should be used to construct scripts t