<span class="token section"><span class="token punctuation">[</span><span class="token section-name selector">Unit</span><span class="token punctuation">]</span></span> <span class="token key attr-name">Description</span><span class="token punctuation">=</span><span class="token value attr-value">SakuraFrp Service</span> <span class="token key attr-name">After</span><span class="token punctuation">=</span><span class="token value attr-value">network.target</span> <span class="token section"><span class="token punctuation">[</span><span class="token section-name selector">Service</span><span class="token punctuation">]</span></span> <span class="token key attr-name">Type</span><span class="token punctuation">=</span><span class="token value attr-value">idle</span> <span class="token key attr-name">User</span><span class="token punctuation">=</span><span class="token value attr-value">nobody</span> <span class="token key attr-name">Restart</span><span class="token punctuation">=</span><span class="token value attr-value">on-failure</span> <span class="token key attr-name">RestartSec</span><span class="token punctuation">=</span><span class="token value attr-value">60s</span> <span class="token key attr-name">ExecStart</span><span class="token punctuation">=</span><span class="token value attr-value">/usr/local/bin/frpc -f %i</span> <span class="token section"><span class="token punctuation">[</span><span class="token section-name selector">Install</span><span class="token punctuation">]</span></span> <span class="token key attr-name">WantedBy</span><span class="token punctuation">=</span><span class="token value attr-value">multi-user.target</span>
原文链接:http://www.123ppp.com/archives/7650
© 版权声明
声明📢本站内容均来自互联网,归原创作者所有,如有侵权必删除。
本站文章皆由CC-4.0协议发布,如无来源则为原创,转载请注明出处。
THE END