system-helpers/README.md

33 lines
974 B
Markdown
Raw Normal View History

# README
A collection of scripts and systemd services which might be useful.
Use at your own risk.
## Installation
1. After you pulled, use `./sync` and pick an action which should be self-explaining.
2. Alternatively, build a `pacman` package for ArchLinux via `makepkg -csi` inside the `dist/` folder.
## Usage
2021-12-27 10:24:05 +00:00
Services and scripts don't depend on each other but have hints that they can be
combined (out-commented line in service files for `systemd_failure_notify@.service`
for example).
Examples are given inside `usr/share/doc/`.
## FAQ
2021-12-27 10:24:05 +00:00
### User cannot use network-online.target
2021-12-27 10:24:05 +00:00
By default, no user unit can depend on system events like `network-online.target`.
To enable this, you need to link the proper `.target` which you like to use inside
the user service before.
```shell
2021-12-27 10:24:05 +00:00
systemctl --user link /usr/lib/systemd/system/network-online.target
```
This would make `network-online.target` available after a _reboot_ to the user
who issued the command.