# !/bin/sh # # This script will be executed *after* all the other init scripts. # You can put your own initialization stuff in here if you don't # want to do the full Sys V style init stuff. touch /var/lock/subsys/local # 任意のコマンドを追加 sh /home/developer/sh/startup.sh ※この際に CentOS 7 などのsystemd系を使用しているOSであれば /etc/rc.local に実行権限が必要なようです。 背景 開発環境のコスト削減のため使用していないであろう深夜帯の時間は開発環境のサーバを stop するようになった。 その際に必要

