[root@centos redmine-1.0.0]# cat /etc/init.d/redmine #!/bin/sh # chkconfig: 2345 86 25 # description: Redmine # MONGREL=/usr/bin/mongrel_rails PATH=/sbin:/bin:/usr/bin REDMINE_PATH=/opt/redmine-1.0.0 <-適宜。 case "$1" in start) $MONGREL start -e production -d -p 3000 --prefix=/redmine -c $REDMINE_PATH ;; stop) $MONGREL stop -c $REDMINE_PATH ;; esac exit 0 [root@centos redmine-1.0.0]# 関連リンク †この記事は 現在のアクセス:3983 |