{"id":168767,"date":"2013-02-08T16:14:03","date_gmt":"2013-02-08T12:14:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=168767"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=168767","title":{"rendered":"<span class=\"post_title\">\u041c\u043d\u043e\u0433\u043e\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u044c\u043a\u0430\u044f \u0442\u043e\u0440\u0440\u0435\u043d\u0442-\u043a\u0430\u0447\u0430\u043b\u043a\u0430 \u043d\u0430 transmission<\/span>"},"content":{"rendered":"<div class=\"content html_format\"> \t\t\t\u0425\u043e\u0447\u0443 \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u0430\u0442\u044c \u043e \u0442\u043e\u043c, \u043a\u0430\u043a \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u0442\u043e\u0440\u0440\u0435\u043d\u0442-\u0434\u0435\u043c\u043e\u043d \u0441 \u0440\u0430\u0437\u0434\u0435\u043b\u0435\u043d\u0438\u0435\u043c \u043f\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f\u043c. \u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0442\u043e\u0440\u0440\u0435\u043d\u0442-\u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u0431\u0443\u0434\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d transmission-daemon.<br \/>  \u0422\u043e\u0440\u0440\u0435\u043d\u0442-\u0434\u0435\u043c\u043e\u043d \u2014 \u044d\u0442\u043e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430(\u0441\u0435\u0440\u0432\u0438\u0441), \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0432\u044b\u0441\u0442\u0443\u043f\u0430\u0435\u0442 \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0442\u043e\u0440\u0440\u0435\u043d\u0442-\u043a\u043b\u0438\u0435\u043d\u0442\u0430(\u043a\u0430\u0447\u0430\u043b\u043a\u0438) \u0438 \u043a\u0430\u043a \u043f\u0440\u0430\u0432\u0438\u043b\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u043d\u0430 \u0432\u0441\u044f\u043a\u0438\u0445 HTPC, NAS, \u0440\u043e\u0443\u0442\u0435\u0440\u0430\u0445 \u0438 \u0442.\u043f. \u0447\u0442\u043e \u0431\u044b \u043a\u0430\u0447\u0430\u0442\u044c\/\u0440\u0430\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u0442\u043e\u0440\u0440\u0435\u043d\u0442\u044b \u043d\u0435 \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u043c \u041f\u041a\/\u043d\u043e\u0443\u0442\u0431\u0443\u043a\u0435, \u0430 \u043d\u0430 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0435, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0432\u0441\u0435\u0433\u0434\u0430 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u043e\/\u043e\u043d\u043b\u0430\u0439\u043d.<br \/>  <a name=\"habracut\"><\/a>  <\/p>\n<h4>\u0412\u0432\u0435\u0434\u0435\u043d\u0438\u0435, \u0434\u043b\u044f \u0442\u0435\u0445, \u043a\u0442\u043e \u043d\u0435 \u0437\u043d\u0430\u043a\u043e\u043c \u0441 \u0442\u0435\u043c, \u0447\u0442\u043e \u0442\u0430\u043a\u043e\u0435 transmission-daemon<\/h4>\n<p>  \u041e\u0434\u043d\u0438\u043c \u0438\u0437 \u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0435\u043d\u043d\u044b\u0445 \u0442\u043e\u0440\u0440\u0435\u043d\u0442-\u0434\u0435\u043c\u043e\u043d\u043e\u0432 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f transmission-daemon. \u0414\u043b\u044f \u043d\u0435\u0433\u043e \u0435\u0441\u0442\u044c \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e GUI-\u043a\u043b\u0438\u0435\u043d\u0442\u043e\u0432 \u0434\u043b\u044f \u0440\u0430\u0437\u043d\u044b\u0445 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0442 \u043f\u043e http \u0438 \u043c\u043e\u0433\u0443\u0442 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0442\u044c\u0441\u044f \u043a \u043a\u0430\u0447\u0430\u043b\u043a\u0435 \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u043e, \u0447\u0442\u043e \u043e\u0447\u0435\u043d\u044c \u0443\u0434\u043e\u0431\u043d\u043e. \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0442\u0430\u043a\u043e\u0433\u043e \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u0434\u043b\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u043e\u0442\u043b\u0438\u0447\u0430\u0442\u0441\u044f \u043e\u0442 \u043e\u0431\u044b\u0447\u043d\u044b\u0445 \u0442\u043e\u0440\u0440\u0435\u043d\u0442-\u043a\u043b\u0438\u0435\u043d\u0442\u043e\u0432, \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u0435\u0441\u043b\u0438 \u043a\u043b\u0438\u0435\u043d\u0442 \u0437\u0430\u043a\u0440\u044b\u0442\u044c, \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u043d\u0438\u0435\/\u0440\u0430\u0437\u0434\u0430\u0447\u0430 \u043d\u0435 \u043f\u0440\u0435\u043a\u0440\u0430\u0449\u0430\u0435\u0442\u0441\u044f, \u0430 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u0435\u0442\u0441\u044f \u043d\u0430 \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u0435-\u0441\u0435\u0440\u0432\u0435\u0440\u0435. \u0422\u0430\u043a \u0436\u0435 \u0443 transmission-daemon \u0435\u0441\u0442\u044c \u0441\u0432\u043e\u0439 \u00ab\u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0439\u00bb web-\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441. <\/p>\n<h4>\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430:<\/h4>\n<p>  \u0418 \u0432\u0441\u0435 \u0431\u044b\u043b\u043e \u0431\u044b \u0445\u043e\u0440\u043e\u0448\u043e, \u043d\u043e transmission-daemon, \u0445\u043e\u0442\u044c \u0438 \u043f\u0440\u0435\u0434\u0443\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0435\u0442 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u044e, \u043d\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f \u043e\u0434\u043d\u043e\u0433\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0435\u0441\u043b\u0438 \u0412\u044b \u0437\u0430\u0445\u043e\u0442\u0438\u0442\u0435, \u0447\u0442\u043e \u0431\u044b \u0432\u0430\u0448\u0435\u0439 \u0442\u043e\u0440\u0440\u0435\u043d\u0442-\u043a\u0430\u0447\u0430\u043b\u043a\u043e\u0439 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0441\u044f \u043a\u0442\u043e-\u0442\u043e \u0435\u0449\u0435 \u043a\u0440\u043e\u043c\u0435 \u0412\u0430\u0441, \u0442\u043e \u043f\u0440\u0438\u0439\u0434\u0435\u0442\u0441\u044f \u0434\u0435\u043b\u0438\u0442\u044c \u043e\u0434\u0438\u043d \u0430\u043a\u043a\u0430\u0443\u043d\u0442 \u2014 \u0432\u044b \u043e\u0431\u0430 \u0441\u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u0440\u043e\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0442\u044c \u0438 \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0437\u0430\u043a\u0430\u0447\u043a\u0430\u043c\u0438 \u0434\u0440\u0443\u0433 \u0434\u0440\u0443\u0433\u0430, \u0447\u0442\u043e \u043d\u0435 \u043e\u0447\u0435\u043d\u044c \u0443\u0434\u043e\u0431\u043d\u043e.<\/p>\n<h4>\u0421\u043f\u043e\u0441\u043e\u0431 \u0440\u0435\u0448\u0435\u043d\u0438\u044f<\/h4>\n<p>  \u0421\u0430\u043c\u044b\u043c \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u044b\u043c \u043f\u0440\u043e\u0441\u0442\u044b\u043c \u0438 \u044d\u043b\u0435\u0433\u0430\u043d\u0442\u043d\u044b\u043c, \u043d\u0430 \u043c\u043e\u0439 \u0432\u0437\u0433\u043b\u044f\u0434, \u0440\u0435\u0448\u0435\u043d\u0438\u0435\u043c \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0437\u0430\u043f\u0443\u0441\u043a transnmission \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e \u043e\u0442 \u0440\u0430\u0437\u043d\u044b\u0445 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439. \u0412 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u041e\u0421 \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f Ubuntu(12.10 Server), \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043c\u043e\u0436\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 Upstart User Job \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f. \u0414\u043b\u044f \u0434\u0440\u0443\u0433\u0438\u0445 \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u043e\u0432 \u0432\u043c\u0435\u0441\u0442\u043e \u044d\u0442\u043e\u0433\u043e \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c init.d \u0441\u043a\u0440\u0438\u043f\u0442\u044b.<\/p>\n<h4>\u0420\u0435\u0448\u0435\u043d\u0438\u0435<\/h4>\n<p>  <\/p>\n<h5>\u041f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u0438\u043c \u0441\u0438\u0441\u0442\u0435\u043c\u0443:<\/h5>\n<p>  \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043c transmission-daemon:<br \/>  <code>sudo apt-get install transmission-daemon<\/code><br \/>  \u0420\u0430\u0437\u0440\u0435\u0448\u0438\u043c \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0445 \u0434\u0435\u043c\u043e\u043d\u043e\u0432 \u0438\u043b\u0438 User Jobs, \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043d\u0443\u0436\u043d\u043e \u0437\u0430\u043c\u0435\u043d\u0438\u0442\u044c \u0444\u0430\u0439\u043b <i>&quot;\/etc\/dbus-1\/system.d\/Upstart.conf&quot;<\/i>, \u043f\u0440\u0435\u0434\u0432\u0430\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0432 \u0431\u0435\u043a\u0430\u043f \u0441\u0442\u0430\u0440\u043e\u0433\u043e.<br \/>  <code>sudo mv \/etc\/dbus-1\/system.d\/Upstart.conf \/etc\/dbus-1\/system.d\/Upstart.conf.save<\/code><br \/>  \u043d\u043e\u0432\u044b\u0439 \u0444\u0430\u0439\u043b <i>\/etc\/dbus-1\/system.d\/Upstart.conf<\/i>:  <\/p>\n<pre><code class=\"xml\">&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; ?&gt; &lt;!DOCTYPE busconfig PUBLIC   &quot;-\/\/freedesktop\/\/DTD D-BUS Bus Configuration 1.0\/\/EN&quot;   &quot;http:\/\/www.freedesktop.org\/standards\/dbus\/1.0\/busconfig.dtd&quot;&gt;  &lt;busconfig&gt;   &lt;!-- Only the root user can own the Upstart name --&gt;   &lt;policy user=&quot;root&quot;&gt;     &lt;allow own=&quot;com.ubuntu.Upstart&quot; \/&gt;   &lt;\/policy&gt;    &lt;!-- Allow any user to invoke all of the methods on Upstart, its jobs        or their instances, and to get and set properties - since Upstart        isolates commands by user. --&gt;   &lt;policy context=&quot;default&quot;&gt;     &lt;allow send_destination=&quot;com.ubuntu.Upstart&quot; \t   send_interface=&quot;org.freedesktop.DBus.Introspectable&quot; \/&gt;     &lt;allow send_destination=&quot;com.ubuntu.Upstart&quot; \t   send_interface=&quot;org.freedesktop.DBus.Properties&quot; \/&gt;     &lt;allow send_destination=&quot;com.ubuntu.Upstart&quot; \t   send_interface=&quot;com.ubuntu.Upstart0_6&quot; \/&gt;     &lt;allow send_destination=&quot;com.ubuntu.Upstart&quot; \t   send_interface=&quot;com.ubuntu.Upstart0_6.Job&quot; \/&gt;     &lt;allow send_destination=&quot;com.ubuntu.Upstart&quot; \t   send_interface=&quot;com.ubuntu.Upstart0_6.Instance&quot; \/&gt;   &lt;\/policy&gt; &lt;\/busconfig&gt; <\/code><\/pre>\n<p>  \u0414\u0430\u043b\u044c\u0448\u0435 \u0441\u0442\u043e\u0438\u0442 \u0432\u044b\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0439 demon, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442\u0441\u044f \u043e\u0442 \u0440\u0443\u0442\u0430 \u043f\u0440\u0438 \u0441\u0442\u0430\u0440\u0442\u0435 \u0441\u0438\u0441\u0442\u0435\u043c\u044b:<\/p>\n<pre><code class=\"bash\">sudo sh -c 'echo &quot;manual&quot; &gt; \/etc\/init\/transmission-daemon.override' sudo service transmission-daemon stop <\/code><\/pre>\n<h5>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u0433\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f:<\/h5>\n<p>  <\/p>\n<h6>\u0441\u043e\u0437\u0434\u0430\u0435\u043c Upstart User Job<\/h6>\n<p>  \u041b\u043e\u0433\u0438\u043d\u0438\u043c\u0441\u044f \u043f\u043e\u0434 \u043e\u0447\u0435\u0440\u0435\u0434\u043d\u044b\u043c \u044e\u0437\u0435\u0440\u043e\u043c, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u0443\u0434\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c transmission-daemon \u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u043c \u0441\u043a\u0440\u0438\u043f\u0442:  <\/p>\n<pre><code class=\"bash\">mkdir $HOME\/.init  cat &lt;&lt;End-of-list  &gt; $HOME\/.init\/transmissiond-$USER.conf start on $USER-logged-in stop on runlevel [!2345]  kill timeout 30  respawn  setuid $USER env HOME=$HOME  pre-start script   # stop job from continuing if no config file found for daemon   [ ! -f \\$HOME\/.transmissiond\/transmission-daemon ] && { stop; exit 0; }      # source the config file   . \\$HOME\/.transmissiond\/transmission-daemon    # stop job from continuing if admin has not enabled service in   # config file.   [ &quot;\\$ENABLE_DAEMON&quot; != 0 ] || { stop; exit 0; } end script  script    . \\$HOME\/.transmissiond\/transmission-daemon   exec \/usr\/bin\/transmission-daemon -f \\$OPTIONS end script  End-of-list <\/code><\/pre>\n<p>  \u0421\u043a\u0440\u0438\u043f\u0442 \u0441\u043e\u0437\u0434\u0430\u0441\u0442 \u0444\u0430\u0439\u043b <code>~\/.init\/transmissiond-$USER.conf<\/code> \u0441 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u043c\u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u043c\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u043e\u0433\u043e \u0434\u0435\u043c\u043e\u043d\u0430.<br \/>  \u041f\u043e\u043b\u0435 \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0441\u0442\u043e\u0438\u0442 \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u044c \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u2014 \u044d\u0442\u043e &quot;<i>start<\/i>&quot;. \u0412 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 Job \u0431\u0443\u0434\u0435\u0442 \u0441\u0442\u0430\u0440\u0442\u043e\u0432\u0430\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0432 \u0441\u043b\u0443\u0447\u0430\u0435, \u0435\u0441\u043b\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u0437\u0430\u043b\u043e\u0433\u0438\u043d\u0438\u043b\u0441\u044f \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0443, \u0447\u0442\u043e \u0432\u043e\u0432\u0441\u0435 \u043d\u0435 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e. \u041e\u0434\u043d\u0430\u043a\u043e, \u0435\u0441\u043b\u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043e \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0434\u043e\u043c\u0430\u0448\u043d\u0435\u0433\u043e \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0430 \u2014 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e, \u0438\u043d\u0430\u0447\u0435 \u043d\u0435\u043a\u0443\u0434\u0430 \u0431\u0443\u0434\u0435\u0442 \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0442\u044c \u0441\u043a\u0430\u0447\u0430\u043d\u043d\u043e\u0435. \u0415\u0441\u043b\u0438 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044f \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u043d\u0438\u044f \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u0430 \u0438 \u0434\u043e \u043b\u043e\u0433\u0438\u043d\u0430 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f, \u0442\u043e<code> &quot;start on $USER-logged-in&quot;<\/code> \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u043c\u0435\u043d\u0438\u0442\u044c \u043d\u0430 <code>&quot;start on runlevel [2345]&quot;<\/code>. \u0412 \u0442\u0430\u043a\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435, \u043e\u0434\u043d\u0430\u043a\u043e, Job \u043d\u0435 \u043d\u0443\u0436\u043d\u043e \u0434\u0435\u043b\u0430\u0442\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u043c, \u0430 \u043c\u043e\u0436\u043d\u043e \u0440\u0430\u0441\u043f\u043e\u043b\u043e\u0436\u0438\u0442\u044c \u0432 \/etc\/init\/<\/p>\n<p>  \u041d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c env user-demona:  <\/p>\n<pre><code class=\"bash\">cat &lt;&lt;End-of-text &gt; $HOME\/.transmissiond\/transmission-daemon ENABLE_DAEMON=1 CONFIG_DIR=&quot;$HOME\/.transmissiond&quot; OPTIONS=&quot;--config-dir \\$CONFIG_DIR&quot; End-of-text <\/code><\/pre>\n<h6>\u0421\u043e\u0437\u0434\u0430\u0435\u043c \u0444\u0430\u0439\u043b \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a \u0442\u043e\u0440\u0440\u0435\u043d\u0442-\u043a\u043b\u0438\u0435\u043d\u0442\u0430<\/h6>\n<p>  \u041d\u0435 \u0437\u0430\u0431\u0443\u0434\u044c\u0442\u0435 \u0437\u0430\u043c\u0435\u043d\u0438\u0442\u044c <code>pass=&quot;*****&quot;<\/code> \u043d\u0430 \u0441\u0432\u043e\u0439 \u043f\u0430\u0440\u043e\u043b\u044c. \u041f\u043e\u0441\u043b\u0435 \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0430 transmission \u0441\u0430\u043c \u0441\u043a\u0440\u043e\u0435\u0442 \u043f\u0430\u0440\u043e\u043b\u044c \u0445\u0435\u0448\u0435\u043c \u2014 \u0432 \u043e\u0442\u043a\u0440\u044b\u0442\u043e\u043c \u0432\u0438\u0434\u0435 \u043d\u0435 \u0445\u0440\u0430\u043d\u0438\u0442.  <\/p>\n<pre><code class=\"bash\">uid=`id -u` pass=&quot;*****&quot; #\u0437\u0434\u0435\u0441\u044c \u0437\u0430\u0431\u0438\u0432\u0430\u0435\u043c \u043f\u0430\u0440\u043e\u043b\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f  cat &lt;&lt;End-of-list &gt; $HOME\/.transmissiond\/settings.json {     &quot;alt-speed-down&quot;: 100,      &quot;alt-speed-enabled&quot;: false,      &quot;alt-speed-time-begin&quot;: 540,      &quot;alt-speed-time-day&quot;: 127,      &quot;alt-speed-time-enabled&quot;: false,      &quot;alt-speed-time-end&quot;: 1020,      &quot;alt-speed-up&quot;: 100,      &quot;bind-address-ipv4&quot;: &quot;0.0.0.0&quot;,      &quot;bind-address-ipv6&quot;: &quot;::&quot;,      &quot;blocklist-enabled&quot;: false,      &quot;blocklist-url&quot;: &quot;http:\/\/www.example.com\/blocklist&quot;,      &quot;cache-size-mb&quot;: 32,      &quot;dht-enabled&quot;: true,           &quot;download-limit&quot;: 100,      &quot;download-limit-enabled&quot;: 0,      &quot;download-queue-enabled&quot;: true,      &quot;download-queue-size&quot;: 5,      &quot;encryption&quot;: 1,      &quot;idle-seeding-limit&quot;: 30,      &quot;idle-seeding-limit-enabled&quot;: false,       &quot;incomplete-dir-enabled&quot;: true,      &quot;lpd-enabled&quot;: false,      &quot;max-peers-global&quot;: 200,      &quot;message-level&quot;: 2,      &quot;peer-congestion-algorithm&quot;: &quot;&quot;,      &quot;peer-limit-global&quot;: 240,      &quot;peer-limit-per-torrent&quot;: 60,           &quot;peer-port-random-high&quot;: 65535,      &quot;peer-port-random-low&quot;: 49152,      &quot;peer-port-random-on-start&quot;: false,      &quot;peer-socket-tos&quot;: &quot;default&quot;,      &quot;pex-enabled&quot;: true,      &quot;port-forwarding-enabled&quot;: true,      &quot;preallocation&quot;: 1,      &quot;prefetch-enabled&quot;: 1,      &quot;queue-stalled-enabled&quot;: true,      &quot;queue-stalled-minutes&quot;: 30,      &quot;ratio-limit&quot;: 2,      &quot;ratio-limit-enabled&quot;: false,      &quot;rename-partial-files&quot;: true,      &quot;rpc-authentication-required&quot;: true,      &quot;rpc-bind-address&quot;: &quot;0.0.0.0&quot;,           &quot;rpc-enabled&quot;: true,      &quot;rpc-url&quot;: &quot;\/transmission\/&quot;,           &quot;rpc-whitelist&quot;: &quot;127.0.0.1&quot;,      &quot;rpc-whitelist-enabled&quot;: false,      &quot;scrape-paused-torrents-enabled&quot;: true,      &quot;script-torrent-done-enabled&quot;: false,      &quot;script-torrent-done-filename&quot;: &quot;&quot;,      &quot;seed-queue-enabled&quot;: false,      &quot;seed-queue-size&quot;: 10,      &quot;speed-limit-down&quot;: 256,      &quot;speed-limit-down-enabled&quot;: false,      &quot;speed-limit-up&quot;: 256,      &quot;speed-limit-up-enabled&quot;: false,      &quot;start-added-torrents&quot;: true,      &quot;trash-original-torrent-files&quot;: false,      &quot;umask&quot;: 18,      &quot;upload-limit&quot;: 100,      &quot;upload-limit-enabled&quot;: 0,      &quot;upload-slots-per-torrent&quot;: 14,      &quot;utp-enabled&quot;: true,      &quot;download-dir&quot;: &quot;$HOME\/downloads&quot;,      &quot;incomplete-dir&quot;: &quot;$HOME\/downloads\/incomplete&quot;,      &quot;peer-port&quot;: $((51413 + $uid - 1000)),      &quot;rpc-username&quot;: &quot;$USER&quot;,      &quot;rpc-password&quot;: &quot;$pass&quot;,      &quot;rpc-port&quot;: $((9091 + $uid - 1000))  } End-of-list <\/code><\/pre>\n<p>  \u041a\u0430\u0436\u0434\u044b\u0439 \u0442\u043e\u0440\u0440\u0435\u043d\u0442-\u0434\u0435\u043c\u043e\u043d \u0431\u0443\u0434\u0435\u0442 \u0432\u0438\u0441\u0435\u0442\u044c \u043d\u0430 \u0441\u0432\u043e\u0435\u043c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u043c \u043f\u043e\u0440\u0442\u0435, \u043a\u0430\u043a \u0434\u043b\u044f \u0432\u0445\u043e\u0434\u044f\u0449\u0438\u0445 \u0442\u043e\u0440\u0440\u0435\u043d\u0442-\u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0439, \u0442\u0430\u043a \u0438 \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f-\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430. \u041d\u043e\u043c\u0435\u0440 \u043f\u043e\u0440\u0442\u0430 (\u0432\u0435\u0431 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441) \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u0433\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0432\u044b\u0447\u0438\u0441\u043b\u044f\u0435\u0442\u0441\u044f \u043f\u043e \u0444\u043e\u0440\u043c\u0443\u043b\u0435 <code>rpc-port = 9091 + $uid - 1000<\/code> \u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u0441 uid 1000 \u0441\u043c\u043e\u0436\u0435\u0442 \u0437\u0430\u0439\u0442\u0438 \u043d\u0430 \u0432\u0435\u0431-\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u043f\u043e <code>http:\/\/server:9091<\/code>, \u0430 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u0441 uid 1010 \u2014 \u043f\u043e <code>http:\/\/server:9101<\/code>. peer-port \u0432\u044b\u0447\u0438\u0441\u043b\u044f\u0435\u0442\u0441\u044f \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u043e.<br \/>  \u0412\u0441\u0435 \u043d\u0435\u0434\u043e\u043a\u0430\u0447\u0430\u043d\u043d\u044b\u0435 \u0442\u043e\u0440\u0440\u0435\u043d\u0442\u044b \u0431\u0443\u0434\u0443\u0442 \u043b\u0435\u0436\u0430\u0442\u044c \u0432 ~\/downloads\/incomplete, \u0430 \u0433\u043e\u0442\u043e\u0432\u044b\u0435 \u2014 \u0432 ~\/downloads.<\/p>\n<p>  \u0412 \u0442\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435, \u0435\u0441\u043b\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f, \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0434\u043e\u043c\u0430\u0448\u043d\u0435\u0439 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f, \u043d\u0443\u0436\u043d\u043e \u0447\u0442\u043e \u0431\u044b \u0434\u0435\u043c\u043e\u043d \u0441\u0442\u0430\u0440\u0442\u043e\u0432\u0430\u043b \u0442\u043e\u043b\u044c\u043a\u043e \u043a\u043e\u0433\u0434\u0430 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u0437\u0430\u043b\u043e\u0433\u0438\u043d\u0435\u043d, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0432 \u043a\u043e\u043d\u0446\u0435 .bashrc \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0432\u0443\u044e\u0449\u0438\u0439 \u0438\u0432\u0435\u043d\u0442, \u0447\u0442\u043e \u0431\u044b Upstart \u0437\u043d\u0430\u043b, \u0447\u0442\u043e \u043f\u043e\u0440\u0430 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c transmission:  <\/p>\n<pre><code class=\"bash\">    echo &quot;# start user specific daemons&quot; &gt;&gt; &quot;$HOME\/.bashrc&quot;     echo &quot;initctl emit $USER-logged-in&quot; &gt;&gt; &quot;$HOME\/.bashrc&quot; <\/code><\/pre>\n<p>  \u0438 \u0435\u0449\u0435, \u043d\u0430\u0432\u0435\u0440\u043d\u043e\u0435, \u0436\u0435\u043b\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0447\u0442\u043e \u0431\u044b \u0435\u0441\u043b\u0438 \u044e\u0437\u0435\u0440 \u0441\u0434\u0435\u043b\u0430\u043b \u043b\u043e\u0433\u0430\u0443\u0442 \u2014 \u0434\u0435\u043c\u043e\u043d \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u043b \u043a\u0440\u0443\u0442\u0438\u0442\u044c\u0441\u044f:<br \/>  <code>mv &quot;$HOME\/.ecryptfs\/auto-umount&quot; &quot;$HOME\/.ecryptfs\/_auto-umount&quot;<\/code><\/p>\n<p>  \u041f\u043e \u0436\u0435\u043b\u0430\u043d\u0438\u044e \u043c\u043e\u0436\u043d\u043e \u0442\u0430\u043a\u0436\u0435 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043f\u0440\u043e\u043a\u0441\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0447\u0435\u0440\u0435\u0437 nginx\/apache \u0447\u0442\u043e \u0431\u044b \u0440\u0430\u0437\u043d\u044b\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438 \u043c\u043e\u0433\u043b\u0438 \u0437\u0430\u0445\u043e\u0434\u0438\u0442\u044c \u043d\u0430 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u0447\u0435\u0440\u0435\u0437 \u0440\u0430\u0437\u043d\u044b\u0435 \u0434\u043e\u043c\u0435\u043d\u044b, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440.<\/p>\n<h4>\u0417\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435<\/h4>\n<p>  \u041a\u0430\u0436\u0434\u044b\u0439 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c, \u0441 \u043a\u043e\u0442\u043e\u0440\u044b\u043c \u043f\u0440\u043e\u0434\u0435\u043b\u0430\u043d\u044b \u043c\u0430\u043d\u0438\u043f\u0443\u043b\u044f\u0446\u0438\u0438 \u0438\u0437 \u00ab\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u0433\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f\u00bb \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0441\u0432\u043e\u0438\u043c \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u043c transmission-daemon, \u043d\u0435 \u043c\u0435\u0448\u0430\u044f \u0434\u0440\u0443\u0433\u0438\u043c \u0438 \u043d\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u0448\u0438\u0432\u0430\u044f \u0441\u043a\u0430\u0447\u0430\u043d\u043d\u043e\u0435. \u0415\u0441\u043b\u0438 \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u0438\u0442\u044c \u044d\u0442\u043e \u0441 ftp\/samba\/&#8230;, \u0442\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438 \u0441\u043c\u043e\u0433\u0443\u0442 \u0438 \u0437\u0430\u0431\u0438\u0440\u0430\u0442\u044c \u0441\u043a\u0430\u0447\u0430\u043d\u043d\u044b\u0435 \u0444\u0430\u0439\u043b\u044b.<br \/>  \u041c\u0430\u043d\u0438\u043f\u0443\u043b\u044f\u0446\u0438\u0438 \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u0441\u0443\u043d\u0443\u0442\u044c \u0432 \u0441\u043a\u0440\u0438\u043f\u0442 \u0438 \u0442\u043e\u0433\u0434\u0430 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u043d\u043e\u0432\u043e\u0433\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u043e\u0434\u043d\u0443 \u043a\u043e\u043c\u0430\u043d\u0434\u0443 \u0438 \u0432\u0441\u0435 \u2014 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f. \t\t\t \t\t\t<\/p>\n<div class=\"clear\"><\/div>\n<\/p><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/168767\/\"> http:\/\/habrahabr.ru\/post\/168767\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\"> \t\t\t\u0425\u043e\u0447\u0443 \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u0430\u0442\u044c \u043e \u0442\u043e\u043c, \u043a\u0430\u043a \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u0442\u043e\u0440\u0440\u0435\u043d\u0442-\u0434\u0435\u043c\u043e\u043d \u0441 \u0440\u0430\u0437\u0434\u0435\u043b\u0435\u043d\u0438\u0435\u043c \u043f\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f\u043c. \u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0442\u043e\u0440\u0440\u0435\u043d\u0442-\u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u0431\u0443\u0434\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d transmission-daemon.<br \/>  \u0422\u043e\u0440\u0440\u0435\u043d\u0442-\u0434\u0435\u043c\u043e\u043d \u2014 \u044d\u0442\u043e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430(\u0441\u0435\u0440\u0432\u0438\u0441), \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0432\u044b\u0441\u0442\u0443\u043f\u0430\u0435\u0442 \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0442\u043e\u0440\u0440\u0435\u043d\u0442-\u043a\u043b\u0438\u0435\u043d\u0442\u0430(\u043a\u0430\u0447\u0430\u043b\u043a\u0438) \u0438 \u043a\u0430\u043a \u043f\u0440\u0430\u0432\u0438\u043b\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u043d\u0430 \u0432\u0441\u044f\u043a\u0438\u0445 HTPC, NAS, \u0440\u043e\u0443\u0442\u0435\u0440\u0430\u0445 \u0438 \u0442.\u043f. \u0447\u0442\u043e \u0431\u044b \u043a\u0430\u0447\u0430\u0442\u044c\/\u0440\u0430\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u0442\u043e\u0440\u0440\u0435\u043d\u0442\u044b \u043d\u0435 \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u043c \u041f\u041a\/\u043d\u043e\u0443\u0442\u0431\u0443\u043a\u0435, \u0430 \u043d\u0430 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0435, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0432\u0441\u0435\u0433\u0434\u0430 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u043e\/\u043e\u043d\u043b\u0430\u0439\u043d.  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-168767","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/168767","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=168767"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/168767\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=168767"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=168767"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=168767"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}