重启命令
<h2>启动/暂停/重启/手动运行网站</h2>
<p>新版</p>
<pre><code>systemctl start pyone #启动
systemctl stop pyone #暂停
systemctl restart pyone #重启</code></pre>
<p>旧版</p>
<pre><code>supervisorctl -c supervisord.conf start pyone #启动
supervisorctl -c supervisord.conf stop pyone #暂停
supervisorctl -c supervisord.conf restart pyone #重启</code></pre>
<p>手动运行网站</p>
<pre><code>gunicorn -keventlet -b 0:34567 run:app</code></pre>
<h2>启动/暂停/重启Aria2</h2>
<p>新版</p>
<pre><code>systemctl start aria2 #启动
systemctl stop aria2 #暂停
systemctl restart aria2 #重启</code></pre>
<p>旧版</p>
<pre><code>sh /data/aria2/aria2.sh start #启动
sh /data/aria2/aria2.sh stop #暂停
sh /data/aria2/aria2.sh restart #重启</code></pre>