<\/span><\/h2>\n\n\n\ncd \/etc\/init.d<\/code><\/pre>\n\n\n\n<\/span>\u5728\/etc\/init.d\/ \u6587\u4ef6\u5939\u4e0b\u521b\u5efa\u4e00\u4e2ashell\u811a\u672c\u540d\u4e3a uwsgi.sh<\/code> \u6dfb\u52a0\u5982\u4e0b\u5185\u5bb9 \uff1a<\/span><\/h2>\n\n\n\n#!\/bin\/bash -e\n\/usr\/bin\/uwsgi --ini \/data\/wwwroot\/traffic_scheduling\/web\/uwsgi.ini<\/code><\/pre>\n\n\n\n<\/span>\u4fee\u6539uwsgi.sh\u7684\u6587\u4ef6\u6743\u9650 <\/span><\/h2>\n\n\n\nchmod 755 uwsgi.sh<\/code><\/pre>\n\n\n\n<\/span> \u6dfb\u52a0\u5230\u5f00\u673a\u81ea\u52a8\u542f\u52a8 <\/span><\/h2>\n\n\n\nupdate-rc.d uwsgi.sh defaults 99<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"\u524d\u9762\u6211\u4eec\u5199\u4e86Docker \u4e0b\u4f7f\u7528Centos\u7cfb\u7edf\u955c\u50cf\u5b89\u88c5 uwsgi \u8fd0\u884c Python3 Django\uff0c\u4f46\u662f […]<\/p>\n","protected":false},"author":1,"featured_media":45862,"comment_status":"open","ping_status":"closed","sticky":false,"template":"single-with-sidebar","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[289,260,17,146,283,207],"aioseo_notices":[],"_links":{"self":[{"href":"http:\/\/www.xyryd.com\/wp-json\/wp\/v2\/posts\/46413"}],"collection":[{"href":"http:\/\/www.xyryd.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.xyryd.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.xyryd.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.xyryd.com\/wp-json\/wp\/v2\/comments?post=46413"}],"version-history":[{"count":0,"href":"http:\/\/www.xyryd.com\/wp-json\/wp\/v2\/posts\/46413\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.xyryd.com\/wp-json\/wp\/v2\/media\/45862"}],"wp:attachment":[{"href":"http:\/\/www.xyryd.com\/wp-json\/wp\/v2\/media?parent=46413"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.xyryd.com\/wp-json\/wp\/v2\/categories?post=46413"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.xyryd.com\/wp-json\/wp\/v2\/tags?post=46413"}],"curies":[{"name":"wp","href":"http:\/\/api.w.org\/{rel}","templated":true}]}}