Updated Systemd integration (markdown)

nobodyatandnothing 2022-06-07 14:28:56 -04:00
parent a5431b6131
commit 96eab43079

@ -1,8 +1,4 @@
> # :warning: Unsupported instructions
>
> **Running Sway as a systemd service is not supported**, nor recommended, nor required for anything. It may break your setup if you're not familiar enough with systemd.
>
> This guide is community-maintained. Please don't open issues if it doesn't work.
> :information_source: This guide is community-maintained. Please don't open issues if it doesn't work.
## Managing user applications with systemd
@ -52,9 +48,11 @@ journalctl --user --identifier sway
Using `--follow` and `--this-boot` might be handy. [`journalctl(1)`](https://www.freedesktop.org/software/systemd/man/journalctl.html) for details.
## Running sway itself as a --user service
It is not recommended that you run `sway` as a systemd service.
See [#5160](https://github.com/swaywm/sway/issues/5160) for finer details on some discussion around this.
> # :warning: Unsupported instructions
>
> **Running Sway as a systemd service is not supported**, nor recommended, nor required for anything. It may break your setup if you're not familiar enough with systemd.
>
> See [#5160](https://github.com/swaywm/sway/issues/5160) for finer details on some discussion around this.
Place the following unit file either at `~/.config/systemd/user/sway.service` or `/etc/systemd/user/sway.service`: