This commit is contained in:
JMARyA 2024-12-23 11:08:19 +01:00
parent 0167d52325
commit bb16b3fceb
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263
17 changed files with 100 additions and 11 deletions

View file

@ -2,6 +2,8 @@
obj: application obj: application
--- ---
#refactor
# NetworkManager # 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. [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.

View file

@ -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. - `Options` : Mount options to use when mounting. This takes a comma-separated list of options. This setting is optional.
## Example ## Example
``` ```ini
[Unit] [Unit]
Documentation=man:fstab(5) man:systemd-fstab-generator(8) Documentation=man:fstab(5) man:systemd-fstab-generator(8)
SourcePath=/etc/fstab SourcePath=/etc/fstab

View file

@ -18,11 +18,11 @@ systemctl list-timers
## Examples ## Examples
### Monotonic timer ### Monotonic timer
A timer which will start 15 minutes after boot and again every week while the system is running. 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] [Unit]
Description=Run foo weekly and on boot Description=Run foo weekly and on boot
@ -35,11 +35,11 @@ WantedBy=timers.target
``` ```
### Realtime timer ### 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: 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] [Unit]
Description=Run foo weekly Description=Run foo weekly

View file

@ -65,6 +65,11 @@ systemctl mask unit
systemctl unmask unit systemctl unmask unit
``` ```
Get a list of overridden unit files:
```shell
systemd-delta
```
## Power Management ## Power Management
Shut down and reboot the system Shut down and reboot the system
`systemctl reboot` `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`. - `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 #### Example
``` ```ini
[Unit] [Unit]
Description=Description Description=Description
After=network.target After=network.target

View file

@ -0,0 +1,6 @@
---
obj: application
---
# hostnamectl
#wip

View file

@ -0,0 +1,6 @@
---
obj: application
---
# journalctl
#wip

View file

@ -0,0 +1,7 @@
---
obj: application
---
# localectl
#wip
https://man.archlinux.org/man/localectl.1

View file

@ -0,0 +1,6 @@
---
obj: application
---
# loginctl
#wip

View file

@ -0,0 +1,6 @@
---
obj: application
---
# networkctl
#wip

View file

@ -0,0 +1,6 @@
---
obj: application
---
# systemd-analyze
#wip

View file

@ -0,0 +1,6 @@
---
obj: application
---
# systemd-ask-pass
#wip

View file

@ -0,0 +1,6 @@
---
obj: application
---
# systemd-detect-virt
#wip

View file

@ -0,0 +1,6 @@
---
obj: application
---
# systemd-firstboot
#wip

View file

@ -0,0 +1,6 @@
---
obj: application
---
# systemd-inhibit
#wip

View file

@ -0,0 +1,6 @@
---
obj: application
---
# systemd-resolve
#wip

View file

@ -0,0 +1,9 @@
---
obj: application
arch-wiki: https://wiki.archlinux.org/title/Systemd-timesyncd
---
# systemd-timesyncd
#wip
timedatectl

View file

@ -0,0 +1,6 @@
---
obj: application
---
# userdbctl
#wip