﻿{"id":42,"date":"2012-04-02T08:47:21","date_gmt":"2012-04-02T11:47:21","guid":{"rendered":"http:\/\/binsfeld.com.br\/wp\/?p=42"},"modified":"2012-04-02T09:53:51","modified_gmt":"2012-04-02T12:53:51","slug":"script-inicializacao-msn-proxy","status":"publish","type":"post","link":"http:\/\/binsfeld.com.br\/wp\/?p=42","title":{"rendered":"Script Inicializa\u00e7\u00e3o MSN-PROXY"},"content":{"rendered":"<p># \u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014- #<\/p>\n<p>#!\/bin\/sh<br \/>\n# chkconfig: 345 99 10<br \/>\n# description: Msn-proxy <\/p>\n<p>start (){<br \/>\necho &#8220;Iniciando o MSN-Proxy&#8221;<br \/>\n\/usr\/local\/bin\/msn-proxy -b >> \/dev\/null<br \/>\n}<br \/>\nstop (){<br \/>\necho &#8220;Finalizando o MSN-Proxy&#8221;<br \/>\npkill -9 msn-proxy >> \/dev\/null<br \/>\n}<\/p>\n<p>case &#8220;$1&#8221; in<br \/>\nstart) start<br \/>\n;;<br \/>\nstop) stop<br \/>\n;;<br \/>\n*) echo &#8220;Uso: msn-proxy (startstop)&#8221;<br \/>\n;;<br \/>\nesac<\/p>\n<p># \u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014- #<\/p>\n<p>[root@centos ~]# chkconfig &#8211;add msn-proxy<\/p>\n<p>[root@centos ~]# chkconfig msn-proxy on<\/p>\n<p>[root@centos ~]# chkconfig &#8211;level 235 msn-proxy on<\/p>\n<p>Cr\u00e9ditos : http:\/\/marcosabadi.blogspot.com.br\/2008\/11\/criando-e-colocando-um-scripts-para.html<\/p>\n","protected":false},"excerpt":{"rendered":"<p># \u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014- # #!\/bin\/sh # chkconfig: 345 99 10 # description: Msn-proxy start (){ echo &#8220;Iniciando o MSN-Proxy&#8221; \/usr\/local\/bin\/msn-proxy -b >> \/dev\/null } stop (){ echo &#8220;Finalizando o MSN-Proxy&#8221; pkill<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-42","post","type-post","status-publish","format-standard","hentry","category-outros"],"_links":{"self":[{"href":"http:\/\/binsfeld.com.br\/wp\/index.php?rest_route=\/wp\/v2\/posts\/42"}],"collection":[{"href":"http:\/\/binsfeld.com.br\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/binsfeld.com.br\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/binsfeld.com.br\/wp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/binsfeld.com.br\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=42"}],"version-history":[{"count":5,"href":"http:\/\/binsfeld.com.br\/wp\/index.php?rest_route=\/wp\/v2\/posts\/42\/revisions"}],"predecessor-version":[{"id":52,"href":"http:\/\/binsfeld.com.br\/wp\/index.php?rest_route=\/wp\/v2\/posts\/42\/revisions\/52"}],"wp:attachment":[{"href":"http:\/\/binsfeld.com.br\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=42"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/binsfeld.com.br\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=42"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/binsfeld.com.br\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=42"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}