{"action":"created","issue":{"url":"https://api.github.com/repos/cnpm/cnpmjs.org/issues/1396","repository_url":"https://api.github.com/repos/cnpm/cnpmjs.org","labels_url":"https://api.github.com/repos/cnpm/cnpmjs.org/issues/1396/labels{/name}","comments_url":"https://api.github.com/repos/cnpm/cnpmjs.org/issues/1396/comments","events_url":"https://api.github.com/repos/cnpm/cnpmjs.org/issues/1396/events","html_url":"https://github.com/cnpm/cnpmjs.org/issues/1396","id":370959992,"node_id":"MDU6SXNzdWUzNzA5NTk5OTI=","number":1396,"title":"ubuntu 系统开机启动","user":{"login":"pengfeiWang","id":4510712,"node_id":"MDQ6VXNlcjQ1MTA3MTI=","avatar_url":"https://avatars1.githubusercontent.com/u/4510712?v=4","gravatar_id":"","url":"https://api.github.com/users/pengfeiWang","html_url":"https://github.com/pengfeiWang","followers_url":"https://api.github.com/users/pengfeiWang/followers","following_url":"https://api.github.com/users/pengfeiWang/following{/other_user}","gists_url":"https://api.github.com/users/pengfeiWang/gists{/gist_id}","starred_url":"https://api.github.com/users/pengfeiWang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pengfeiWang/subscriptions","organizations_url":"https://api.github.com/users/pengfeiWang/orgs","repos_url":"https://api.github.com/users/pengfeiWang/repos","events_url":"https://api.github.com/users/pengfeiWang/events{/privacy}","received_events_url":"https://api.github.com/users/pengfeiWang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-10-17T08:40:02Z","updated_at":"2018-10-18T08:02:50Z","closed_at":null,"author_association":"NONE","body":"ubuntu\r\n在/etc/init.d/下增加  cnpm_start.sh\r\n\r\ncnpm_start.sh 内容, 首页服务貌似是起来了, 可以访问首页\r\n\r\n但是没有列出相关资源, 与搜索都是显示服务器错误的\r\n\r\n/total 这个请求也是出错\r\n\r\n不知道这样运行脚本哪里不对了\r\n\r\n```\r\n#!/bin/sh\r\n### BEGIN INIT INFO\r\n# Provides:          cnpm_start.sh\r\n# Required-start:    $local_fs $remote_fs $network $syslog\r\n# Required-Stop:     $local_fs $remote_fs $network $syslog\r\n# Default-Start:     2 3 4 5\r\n# Default-Stop:      0 1 6\r\n# Short-Description: starts the svnd.sh daemon\r\n# Description:       starts svnd.sh using start-stop-daemon\r\n### END INIT INFO\r\n\r\n/home/ubuntu/cnpmjs.org/bin/nodejsctl start\r\n\r\n#\r\n```"},"comment":{"url":"https://api.github.com/repos/cnpm/cnpmjs.org/issues/comments/430913871","html_url":"https://github.com/cnpm/cnpmjs.org/issues/1396#issuecomment-430913871","issue_url":"https://api.github.com/repos/cnpm/cnpmjs.org/issues/1396","id":430913871,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMDkxMzg3MQ==","user":{"login":"rhinoceros","id":512834,"node_id":"MDQ6VXNlcjUxMjgzNA==","avatar_url":"https://avatars0.githubusercontent.com/u/512834?v=4","gravatar_id":"","url":"https://api.github.com/users/rhinoceros","html_url":"https://github.com/rhinoceros","followers_url":"https://api.github.com/users/rhinoceros/followers","following_url":"https://api.github.com/users/rhinoceros/following{/other_user}","gists_url":"https://api.github.com/users/rhinoceros/gists{/gist_id}","starred_url":"https://api.github.com/users/rhinoceros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhinoceros/subscriptions","organizations_url":"https://api.github.com/users/rhinoceros/orgs","repos_url":"https://api.github.com/users/rhinoceros/repos","events_url":"https://api.github.com/users/rhinoceros/events{/privacy}","received_events_url":"https://api.github.com/users/rhinoceros/received_events","type":"User","site_admin":false},"created_at":"2018-10-18T08:02:49Z","updated_at":"2018-10-18T08:02:49Z","author_association":"NONE","body":"查一下日志：\r\n默认位置在： ~/.cnpmjs.org/logs/"}}
{"actor":{"display_login":"rhinoceros"}}