update
This commit is contained in:
parent
0167d52325
commit
bb16b3fceb
17 changed files with 100 additions and 11 deletions
|
@ -2,6 +2,8 @@
|
|||
obj: application
|
||||
---
|
||||
|
||||
#refactor
|
||||
|
||||
# NetworkManager
|
||||
[NetworkManager](https://networkmanager.dev/) is a program for providing detection and configuration for systems to automatically connect to networks. NetworkManager's functionality can be useful for both wireless and wired networks. For wireless networks, NetworkManager prefers known wireless networks and has the ability to switch to the most reliable network. NetworkManager-aware applications can switch from online and offline mode. NetworkManager also prefers wired connections over wireless ones, has support for modem connections and certain types of VPN. NetworkManager was originally developed by Red Hat and now is hosted by the GNOME project.
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ Fields inside the mount section:
|
|||
- `Options` : Mount options to use when mounting. This takes a comma-separated list of options. This setting is optional.
|
||||
|
||||
## Example
|
||||
```
|
||||
```ini
|
||||
[Unit]
|
||||
Documentation=man:fstab(5) man:systemd-fstab-generator(8)
|
||||
SourcePath=/etc/fstab
|
||||
|
|
|
@ -18,11 +18,11 @@ systemctl list-timers
|
|||
|
||||
## Examples
|
||||
### Monotonic timer
|
||||
|
||||
A timer which will start 15 minutes after boot and again every week while the system is running.
|
||||
|
||||
`/etc/systemd/system/foo.timer`
|
||||
```
|
||||
```ini
|
||||
# /etc/systemd/system/foo.timer
|
||||
|
||||
[Unit]
|
||||
Description=Run foo weekly and on boot
|
||||
|
||||
|
@ -35,11 +35,11 @@ WantedBy=timers.target
|
|||
```
|
||||
|
||||
### Realtime timer
|
||||
|
||||
A timer which starts once a week (at 12:00am on Monday). When activated, it triggers the service immediately if it missed the last start time (option `Persistent=true`), for example due to the system being powered off:
|
||||
|
||||
`/etc/systemd/system/foo.timer`
|
||||
```
|
||||
```ini
|
||||
# /etc/systemd/system/foo.timer
|
||||
|
||||
[Unit]
|
||||
Description=Run foo weekly
|
||||
|
||||
|
|
|
@ -65,6 +65,11 @@ systemctl mask unit
|
|||
systemctl unmask unit
|
||||
```
|
||||
|
||||
Get a list of overridden unit files:
|
||||
```shell
|
||||
systemd-delta
|
||||
```
|
||||
|
||||
## Power Management
|
||||
Shut down and reboot the system
|
||||
`systemctl reboot`
|
||||
|
@ -98,7 +103,7 @@ There are several different start-up types to consider when writing a custom ser
|
|||
- `Type=idle`: _systemd_ will delay execution of the service binary until all jobs are dispatched. Other than that behavior is very similar to `Type=simple`.
|
||||
|
||||
#### Example
|
||||
```
|
||||
```ini
|
||||
[Unit]
|
||||
Description=Description
|
||||
After=network.target
|
||||
|
|
6
technology/linux/systemd/hostnamectl.md
Normal file
6
technology/linux/systemd/hostnamectl.md
Normal file
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
obj: application
|
||||
---
|
||||
|
||||
# hostnamectl
|
||||
#wip
|
6
technology/linux/systemd/journalctl.md
Normal file
6
technology/linux/systemd/journalctl.md
Normal file
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
obj: application
|
||||
---
|
||||
|
||||
# journalctl
|
||||
#wip
|
7
technology/linux/systemd/localectl.md
Normal file
7
technology/linux/systemd/localectl.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
---
|
||||
obj: application
|
||||
---
|
||||
|
||||
# localectl
|
||||
#wip
|
||||
https://man.archlinux.org/man/localectl.1
|
6
technology/linux/systemd/loginctl.md
Normal file
6
technology/linux/systemd/loginctl.md
Normal file
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
obj: application
|
||||
---
|
||||
|
||||
# loginctl
|
||||
#wip
|
6
technology/linux/systemd/networkctl.md
Normal file
6
technology/linux/systemd/networkctl.md
Normal file
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
obj: application
|
||||
---
|
||||
|
||||
# networkctl
|
||||
#wip
|
6
technology/linux/systemd/systemd-analyze.md
Normal file
6
technology/linux/systemd/systemd-analyze.md
Normal file
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
obj: application
|
||||
---
|
||||
|
||||
# systemd-analyze
|
||||
#wip
|
6
technology/linux/systemd/systemd-ask-pass.md
Normal file
6
technology/linux/systemd/systemd-ask-pass.md
Normal file
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
obj: application
|
||||
---
|
||||
|
||||
# systemd-ask-pass
|
||||
#wip
|
6
technology/linux/systemd/systemd-detect-virt.md
Normal file
6
technology/linux/systemd/systemd-detect-virt.md
Normal file
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
obj: application
|
||||
---
|
||||
|
||||
# systemd-detect-virt
|
||||
#wip
|
6
technology/linux/systemd/systemd-firstboot.md
Normal file
6
technology/linux/systemd/systemd-firstboot.md
Normal file
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
obj: application
|
||||
---
|
||||
|
||||
# systemd-firstboot
|
||||
#wip
|
6
technology/linux/systemd/systemd-inhibit.md
Normal file
6
technology/linux/systemd/systemd-inhibit.md
Normal file
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
obj: application
|
||||
---
|
||||
|
||||
# systemd-inhibit
|
||||
#wip
|
6
technology/linux/systemd/systemd-resolve.md
Normal file
6
technology/linux/systemd/systemd-resolve.md
Normal file
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
obj: application
|
||||
---
|
||||
|
||||
# systemd-resolve
|
||||
#wip
|
9
technology/linux/systemd/systemd-timesyncd.md
Normal file
9
technology/linux/systemd/systemd-timesyncd.md
Normal file
|
@ -0,0 +1,9 @@
|
|||
---
|
||||
obj: application
|
||||
arch-wiki: https://wiki.archlinux.org/title/Systemd-timesyncd
|
||||
---
|
||||
|
||||
# systemd-timesyncd
|
||||
#wip
|
||||
|
||||
timedatectl
|
6
technology/linux/systemd/userdbctl.md
Normal file
6
technology/linux/systemd/userdbctl.md
Normal file
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
obj: application
|
||||
---
|
||||
|
||||
# userdbctl
|
||||
#wip
|
Loading…
Add table
Reference in a new issue