mirror of
https://github.com/jaywcjlove/reference.git
synced 2025-08-22 22:16:14 +08:00
docs: update docs/systemd.md (#982) 4d311ed58b
This commit is contained in:
560
CONTRIBUTORS.svg
560
CONTRIBUTORS.svg
File diff suppressed because one or more lines are too long
Before Width: | Height: | Size: 12 MiB After Width: | Height: | Size: 12 MiB |
@@ -171,7 +171,7 @@
|
||||
|
||||
|
||||
|
||||
<table class="style-list"><thead><tr><th align="left">:-</th><th>-</th></tr></thead><tbody><tr><td align="left"><code>systemctl stop service</code></td><td><red>停止</red>正在运行的服务</td></tr><tr><td align="left"><code>systemctl start service</code></td><td>启动服务</td></tr><tr><td align="left"><code>systemctl restart service</code></td><td>重新启动正在运行的服务</td></tr><tr><td align="left"><code>systemctl reload service</code></td><td>重新加载服务中的所有配置文件</td></tr><tr><td align="left"><code>systemctl daemon-reload</code></td><td>必须运行以重新加载更改的单元文件</td></tr><tr><td align="left"><code>systemctl status</code></td><td>service 查看服务是否正在运行/启用</td></tr><tr><td align="left"><code>systemctl --failed</code></td><td>显示未能运行的服务</td></tr><tr><td align="left"><code>systemctl reset-failed</code></td><td>将任何单位从失败状态重置</td></tr><tr><td align="left"><code>systemctl enable service</code></td><td>使服务在启动时启动</td></tr><tr><td align="left"><code>systemctl disable service</code></td><td>禁用服务 - 不会在启动时启动</td></tr><tr><td align="left"><code>systemctl show service</code></td><td>显示服务(或其他单元)的属性</td></tr><tr><td align="left"><code>systemctl edit service</code></td><td>创建片段以放入单元文件</td></tr><tr><td align="left"><code>systemctl edit --full service</code></td><td>编辑整个单元文件以进行服务</td></tr><tr><td align="left"><code>systemctl -H host status network</code></td><td>远程运行任何 systemctl 命令</td></tr></tbody></table>
|
||||
<table class="style-list"><thead><tr><th align="left">:-</th><th>-</th></tr></thead><tbody><tr><td align="left"><code>systemctl stop service</code></td><td><red>停止</red>正在运行的服务</td></tr><tr><td align="left"><code>systemctl start service</code></td><td>启动服务</td></tr><tr><td align="left"><code>systemctl restart service</code></td><td>重新启动正在运行的服务</td></tr><tr><td align="left"><code>systemctl reload service</code></td><td>重新加载服务中的所有配置文件</td></tr><tr><td align="left"><code>systemctl daemon-reload</code></td><td>必须运行以重新加载更改的单元文件</td></tr><tr><td align="left"><code>systemctl status service</code></td><td>查看服务是否正在运行/启用</td></tr><tr><td align="left"><code>systemctl --failed</code></td><td>显示未能运行的服务</td></tr><tr><td align="left"><code>systemctl reset-failed</code></td><td>将任何单位从失败状态重置</td></tr><tr><td align="left"><code>systemctl enable service</code></td><td>使服务在启动时启动</td></tr><tr><td align="left"><code>systemctl disable service</code></td><td>禁用服务 - 不会在启动时启动</td></tr><tr><td align="left"><code>systemctl show service</code></td><td>显示服务(或其他单元)的属性</td></tr><tr><td align="left"><code>systemctl edit service</code></td><td>创建片段以放入单元文件</td></tr><tr><td align="left"><code>systemctl edit --full service</code></td><td>编辑整个单元文件以进行服务</td></tr><tr><td align="left"><code>systemctl -H host status network</code></td><td>远程运行任何 systemctl 命令</td></tr></tbody></table>
|
||||
<!--rehype:className=style-list-->
|
||||
</div></div></div><div class="wrap h3body-not-exist col-span-2"><div class="wrap-header h3wrap"><h3 id="查看日志消息"><a aria-hidden="true" tabindex="-1" href="#查看日志消息"><span class="icon icon-link"></span></a>查看日志消息</h3><div class="wrap-body">
|
||||
<!--rehype:wrap-class=col-span-2-->
|
||||
|
@@ -1794,7 +1794,7 @@
|
||||
|
||||
gtag('config', 'G-9MWEWXSDQK');
|
||||
</script>
|
||||
</div></div><div class="h2wrap-body"></div></div></div></div><footer class="footer-wrap"><footer class="max-container">© 2022 <a href="https://wangchujiang.com/#/app" target="_blank">Kenny Wang</a>. Updated on 2025/07/11 02:40:08</footer></footer><script async src="https://www.googletagmanager.com/gtag/js?id=G-9MWEWXSDQK"></script><script>window.dataLayer = window.dataLayer || [];
|
||||
</div></div><div class="h2wrap-body"></div></div></div></div><footer class="footer-wrap"><footer class="max-container">© 2022 <a href="https://wangchujiang.com/#/app" target="_blank">Kenny Wang</a>. Updated on 2025/07/14 12:47:24</footer></footer><script async src="https://www.googletagmanager.com/gtag/js?id=G-9MWEWXSDQK"></script><script>window.dataLayer = window.dataLayer || [];
|
||||
function gtag(){dataLayer.push(arguments);}
|
||||
gtag('js', new Date());
|
||||
gtag('config', 'G-9MWEWXSDQK');</script><script src="data.js?v=1.9.0" defer></script><script src="js/fuse.min.js?v=1.9.0" defer></script><script src="js/main.js?v=1.9.0" defer></script><div id="mysearch"><div class="mysearch-box"><div class="mysearch-input"><div><svg xmlns="http://www.w3.org/2000/svg" height="1em" width="1em" viewBox="0 0 18 18">
|
||||
|
Reference in New Issue
Block a user