You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
61 lines
549 B
61 lines
549 B
1 year ago
|
# System
|
||
|
|
||
|
Summary: Work with the system.
|
||
|
|
||
|
## Available Commands
|
||
|
|
||
|
### reboot
|
||
|
|
||
|
Reboot the system.
|
||
|
|
||
|
```ini
|
||
|
[reboot the system]
|
||
|
reboot:
|
||
|
sudo: yes
|
||
|
```
|
||
|
|
||
|
### reload
|
||
|
|
||
|
Reload a service.
|
||
|
|
||
|
```ini
|
||
|
[reload postgres]
|
||
|
reload: postgresql
|
||
|
```
|
||
|
|
||
|
### restart
|
||
|
|
||
|
Restart a service:
|
||
|
|
||
|
```ini
|
||
|
[restart postgres]
|
||
|
restart: postgresql
|
||
|
```
|
||
|
|
||
|
### run
|
||
|
|
||
|
Run any shell command.
|
||
|
|
||
|
```ini
|
||
|
[run a useless listing command]
|
||
|
run: "ls -ls"
|
||
|
```
|
||
|
|
||
|
### start
|
||
|
|
||
|
Start a service:
|
||
|
|
||
|
```ini
|
||
|
[start postgres]
|
||
|
start: postgresql
|
||
|
```
|
||
|
|
||
|
### stop
|
||
|
|
||
|
Stop a service:
|
||
|
|
||
|
```ini
|
||
|
[stop postgres]
|
||
|
stop: postgresql
|
||
|
```
|