mirror of
https://github.com/javalsai/lidm.git
synced 2026-02-27 03:50:44 +01:00
chore: misc (#100) (this makes 2.0.0)
Co-authored-by: grialion <48643945+grialion@users.noreply.github.com> - Fix license ambiguity (#88) - just the only/or-later ambiguity point, not adding SPDX identifyiers unless more people request it - Better document kmscon (#91) - Make 2.0.0 already to close #86 - Add a changelog - Add packagers info (acutally just add them to install guide) - Add AUR service packages (I'll take care of systemd and dinit, let others package the rest and leave systemd open for someone who actually uses it in docs) - Make sure all makefile installs to `/usr/local` by default - Simplify Makefile complexity by several orders
This commit is contained in:
@@ -2,18 +2,17 @@
|
||||
|
||||
This folder contains the files necessary to set up lidm on start up for the supported init systems, all of them are configured for tty7.
|
||||
|
||||
If you're using lidm from a packaged source, this should be included with the package. Only read this for manual installations, if you are packaging or if your package exceptionally doesn't include them.
|
||||
|
||||
If you don't know what a init system is, you're certainly using `systemd`.
|
||||
|
||||
There's make scripts to automatically copy the service files to the proper locations, you just have to run `make install-service-$INIT` (or `make install-service-$INIT-etc`). `make install-service` will attempt to detect the init system in use and install for it.
|
||||
|
||||
The manual steps for installation are:
|
||||
|
||||
> [!IMPORTANT]
|
||||
> If you think this should be packaged too, there's [a discussion](https://github.com/javalsai/lidm/discussions/39) to talk about this.
|
||||
|
||||
## Systemd
|
||||
|
||||
- Copy `systemd.service` to `/usr/local/lib/systemd/system/lidm.service` (if the directory doesn't exist, create it first)
|
||||
- Copy `systemd.service` to `/usr/local/lib/systemd/system/lidm.service` (if the directory doesn't exist, create it first) or `/usr/lib/systemd/system/lidm.service` (if you wish to install along your system files).
|
||||
- To enable it you can run `systemctl enable lidm`
|
||||
|
||||
## Dinit
|
||||
@@ -23,8 +22,10 @@ The manual steps for installation are:
|
||||
|
||||
## Runit
|
||||
|
||||
- Copy `runit/` to `/etc/runit/sv/lidm/`
|
||||
- Add the service with `ln -s /etc/runit/sv/lidm /run/runit/service`
|
||||
Your runit service path can be either `/etc/runit/sv` or `/etc/sv`.
|
||||
|
||||
- Copy `runit/` to `runit-path/lidm/`
|
||||
- Add the service with `ln -s runit-path/lidm /run/runit/service`
|
||||
- And to enable it `sv enable lidm`
|
||||
|
||||
## OpenRC
|
||||
@@ -34,7 +35,9 @@ The manual steps for installation are:
|
||||
|
||||
## S6
|
||||
|
||||
- Copy `s6/` to `/etc/s6/sv/lidm/`
|
||||
Your S6 service path can be either `/etc/s6/sv` or `/etc/sv`.
|
||||
|
||||
- Copy `s6/` to `s6-path/lidm/`
|
||||
- Add the service with `s6-service add default lidm`
|
||||
- Reload the database with `s6-db-reload` (you might have to run this every time the service file changes)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user