我想在Docker中启动一个系统,它有很多init和upstart服务,并且我得到这个错误。 initctl: Unable to connect to Upstart:
Failed to connect to socket /com/ubuntu/upstart: Connection refused
所有变通办法建议将/ bin/true的硬链接设置为使沉默错误消失。但我需要这些服务由
我有一个暴发户脚本如下。 #!upstart
description "example site services"
author "Peter"
start on startup
stop on shutdown
respawn
script
echo $$ > /var/run/website.pid
exec /etc/nginx/website 2>&1
end s