mirror of
https://github.com/hukl/freebsd-toolbox.git
synced 2025-11-20 03:08:43 +01:00
An additional section with service commands.
This commit is contained in:
12
commands.md
12
commands.md
@ -84,6 +84,18 @@ pkg upgrade <packagename> # upgrade a packages
|
|||||||
pkg which <filename> # find out which package installed a given file
|
pkg which <filename> # find out which package installed a given file
|
||||||
```
|
```
|
||||||
|
|
||||||
|
# Services
|
||||||
|
|
||||||
|
```
|
||||||
|
service -l # list all available services
|
||||||
|
service -e # list all enabled services
|
||||||
|
service <servicename> status # show the status of the service with the given servicename
|
||||||
|
service <servicename> start # start the service with the given servicename
|
||||||
|
service <servicename> stop # stop the service with the given servicename
|
||||||
|
service <servicename> restart # restart the service with the given servicename
|
||||||
|
service <servicename> reload # reload the configuration of the service with the given servicename
|
||||||
|
```
|
||||||
|
|
||||||
# Network
|
# Network
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user