差し替える。
WordPress 用 のプラグインで現在は Github 上でも公開されている
utahta/WP-Social-Bookmarking-Light · GitHub
を直接さわった。

--- bookmark_button.js 2012-03-08 15:57:54.000000000 +0900
+++ bookmark_button_wo_al.js 2012-03-08 15:57:54.000000000 +0900
@@ -742,17 +742,6 @@
     }
 });
 
-
-(function () {
- var domains = 'www.toyokeizai.net member.toyokeizai.net excite.co.jp exblog.jp mainichi.jp jp.msn.com *.jp.msn.com itmedia.co.jp bizmakoto.jp atmarkit.co.jp eetimes.jp ednjapan.cancom-j.com ednjapan.com barks.jp www.asahi.com *.asahi.com jp.techcrunch.com japanese.engadget.com jp.autoblog.com celebrity.aol.jp www.nikkei.com *.nikkeibp.co.jp japan.cnet.com japan.zdnet.com builder.japan.zdnet.com japan.gamespot.com www.re-source.jp www.yomiuri.co.jp groupon.jp';
- var pattern = '^(?:' + domains.replace(/\./g, '\\.').replace(/\*\\\./g, '(?:[^.]+\\.)+').replace(/\s+/g, '|') + ')$';
- if (isLocal || !/^https?:$/.test(location.protocol) || new RegExp(pattern).test(location.hostname)) return;
- window.mad_partner_id = '6';
- var script = E('script', { type: 'text/javascript', src: '//send.microad.jp/js/conv0000.js' });
- var anchor = document.getElementsByTagName('script')[0] || document.getElementsByTagName('head')[0].firstChild;
- anchor.parentNode.insertBefore(script, anchor);
-})();
-
 })(Hatena);
 
 Hatena.Bookmark.BookmarkButton.setup();
view raw gistfile1.txt This Gist brought to you by GitHub.

Origin
https://github.com/utahta/WP-Social-Bookmarking-Light/blob/master/modules/services.php


--- services.php_org 2011-11-30 02:49:15.000000000 +0900
+++ services.php 2012-03-10 15:07:22.000000000 +0900
@@ -89,7 +89,7 @@
                                 .' title="'.$alt.'">'
                                 .' <img src="http://b.st-hatena.com/images/entry-button/button-only.gif"'
                                 .' alt="'.$alt.'" width="20" height="20" style="border: none;" /></a>'
- .'<script type="text/javascript" src="http://b.st-hatena.com/js/bookmark_button.js" charset="utf-8" async="async"></script>');
+ .'<script type="text/javascript" src="http://b.st-hatena.com/js/bookmark_button_wo_al.js" charset="utf-8" async="async"></script>');
     }
     
     /**

 

前提

Scientifc Linux 6.1 + nginx / yum 起動スクリプトを流用する » # watch -d tail /var/log/ngsw.log

検証

# nginx -V 2>&1 |grep --color '\-\-pid-path.*.pid'
  (snip)
  --pid-path=/var/run/nginx/nginx.pid
  (snip)

# ls /var/run/nginx/nginx.pid
  ls: cannot access /var/run/nginx/nginx.pid: そのようなファイルやディレクトリはありません

# nginx -t
  nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
  nginx: configuration file /etc/nginx/nginx.conf test is successful

# ls /var/run/nginx/nginx.pid
  /var/run/nginx/nginx.pid

# ?(´・ω・`)?

# /etc/init.d/nginx status
  nginx が停止していますが PID ファイルが残っています

# ?(´・ω・`)?

# /etc/init.d/nginx stop
  nginx を停止中: [失敗]

# ??(´・ω・`)??

# ls /var/run/nginx/nginx.pid
  ls: cannot access /var/run/nginx/nginx.pid: そのようなファイルやディレクトリはありません

# こういうものですか?
view raw nginx_t This Gist brought to you by GitHub.

ソースみてみなきゃな話だなー。

© 2012 # watch -d tail /var/log/ngsw.log Suffusion theme by Sayontan Sinha