0
我想在系统启动时启动Rundeck。 我使用Ubuntu 14.04和手动我开始像这样:在系统启动时启动Rundeck
cd $RDECK_BASE
java -XX:MaxPermSize=256m -Xmx1024m -jar rundeck-launcher-2.6.2.jar
我已经把同样的事情在rc.local中:
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
cd $RDECK_BASE
java -XX:MaxPermSize=256m -Xmx1024m -jar rundeck-launcher-2.6.2.jar
exit 0
它不会重新启动系统后推出。你有任何解释吗?