Commit 1594251
Add OpenRC user init scrpt
OpenRC supports user services since 0.60.
This commit adds a simple service script that mimics what the
systemd service is doing.
Wrote & tested on Gentoo, inspired by gui-apps/foot's.
Please note that checking $WAYLAND_SESSION requires
`rc_env_allow=WAYLAND_DISPLAY` to be set in user's `/rc.conf`
Closes: #614
Signed-off-by: Filip Kobierski <fkobi@pm.me>1 parent c2c0d04 commit 1594251
1 file changed
+25
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
0 commit comments