🎨参考
This commit is contained in:
parent
09b6aee30b
commit
156dbf2109
|
@ -28,8 +28,10 @@ WantedBy=multi-user.target
|
||||||
|
|
||||||
将这个服务单元文件保存在 /etc/systemd/system/ 目录下。使用以下命令启用这个服务并启动它:
|
将这个服务单元文件保存在 /etc/systemd/system/ 目录下。使用以下命令启用这个服务并启动它:
|
||||||
|
|
||||||
sudo systemctl enable my-service.service
|
```sh
|
||||||
sudo systemctl start my-service.service
|
sudo systemctl enable my-service.service # 启用,随机启动
|
||||||
|
sudo systemctl start my-service.service # 启动
|
||||||
|
```
|
||||||
|
|
||||||
## 常见配置讲解
|
## 常见配置讲解
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user