updated service
This commit is contained in:
parent
9b9806b5c2
commit
52f5597ba9
18
README.md
18
README.md
|
@ -24,16 +24,14 @@ Instructions how to create a standalone machine that boots directly to reHDD. Th
|
|||
|
||||
### Start reHDD after boot without login (as a tty shell)
|
||||
|
||||
nano /etc/systemd/system/reHDD.service
|
||||
```
|
||||
[Unit]
|
||||
Description=Custom user interface on tty1
|
||||
Conflicts=getty@tty1.service
|
||||
Before=getty.target
|
||||
nano /lib/systemd/system/getty@.service
|
||||
|
||||
and replace the [Service] with this:
|
||||
```
|
||||
[Service]
|
||||
WorkingDirectory=/root/reHDD
|
||||
ExecStart=/root/reHDD/reHDD
|
||||
ExecStart=
|
||||
ExecStart=-/root/reHDD/reHDD
|
||||
StandardInput=tty
|
||||
StandardOutput=tty
|
||||
Restart=always
|
||||
|
@ -45,10 +43,10 @@ TTYVHangup=yes
|
|||
TTYVTDisallocate=yes
|
||||
SendSIGHUP=yes
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
```
|
||||
|
||||
systemctl daemon-reload
|
||||
|
||||
nano /etc/systemd/system/reHDDSettings.service
|
||||
```
|
||||
[Service]
|
||||
|
@ -77,7 +75,5 @@ Add your system drive in /root/reHDD/ignoreDrives.conf like:
|
|||
``` /dev/sdX:e102f49d-5ed5-462b-94c5-ef66a4345671```
|
||||
Get your UUID via blkid /dev/sdX
|
||||
|
||||
systemctl enable reHDD.service
|
||||
|
||||
systemctl enable reHDDSettings.service
|
||||
|
||||
|
|
Loading…
Reference in New Issue