mirror of https://github.com/fairyglade/ly.git
Merge pull request #2 from TerminalJunki/dev
small documentation changes
This commit is contained in:
commit
f8b663a30b
2
makefile
2
makefile
|
|
@ -106,7 +106,7 @@ installrunit:
|
||||||
|
|
||||||
installs6:
|
installs6:
|
||||||
@echo "installing s6 service"
|
@echo "installing s6 service"
|
||||||
@echo "\tIMPORTANT: PLEASE READ CAREFULLY!\nLy will not function properly if tty2 or the one set in config isn't disabled. \nTo do this edit "/etc/s6/config/tty2.conf" and set ' SPAWN="no" '\nThen either reboot the system or run in order\n"s6-rc -d change tty2", "kill $$\(pgrep ly-dm\)", "s6-rc -u change ly-srv"."
|
@echo "\tIMPORTANT: PLEASE READ CAREFULLY!\nLy will not function properly if tty2 or the one set in config isn't disabled. \nTo do this edit "/etc/s6/config/tty2.conf" and set ' SPAWN="no" '\nThen either reboot the system or run in order\n"# s6-rc -d change tty2"\n"# s6-rc -u change ly-srv""
|
||||||
@touch ${DESTDIR}/etc/s6/adminsv/default/contents.d/ly-srv
|
@touch ${DESTDIR}/etc/s6/adminsv/default/contents.d/ly-srv
|
||||||
@install -DZ $(RESD)/ly-s6/* -t ${DESTDIR}/etc/s6/sv/ly-srv
|
@install -DZ $(RESD)/ly-s6/* -t ${DESTDIR}/etc/s6/sv/ly-srv
|
||||||
@s6-db-reload
|
@s6-db-reload
|
||||||
|
|
|
||||||
23
readme.md
23
readme.md
|
|
@ -133,6 +133,29 @@ The agetty service for the tty console where you are running ly should be disabl
|
||||||
|
|
||||||
```
|
```
|
||||||
# rm /var/service/agetty-tty2
|
# rm /var/service/agetty-tty2
|
||||||
|
```
|
||||||
|
### s6
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
$ make
|
||||||
|
# make installs6
|
||||||
|
# vim (or nano) /etc/s6/config/tty2.conf
|
||||||
|
|
||||||
|
```
|
||||||
|
Set `SPAWN="no"`
|
||||||
|
Exit and save configuration file.
|
||||||
|
|
||||||
|
Note: If ly is configured to run on another tty other than tty2, change the respecting configuration file which can be found in /etc/s6/config
|
||||||
|
|
||||||
|
The makefile should add and enable ly by default, but here are the steps to enable the service manually.
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
# s6-service add default ly-srv
|
||||||
|
# s6-db-reload
|
||||||
|
# s6-rc -u change ly-srv
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Arch Linux Installation
|
## Arch Linux Installation
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue