摘要:
Just add one file to /etc/init with contents like this:description "Your Server"start on (net-device-up and local-filesystems and runlevel [2345])stop on runlevel [016]respawnexec your-server-path-name >> /var/log/your-server.logReference:http://upstart.ubuntu.com/wiki/ 阅读全文