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)
|
### Start reHDD after boot without login (as a tty shell)
|
||||||
|
|
||||||
nano /etc/systemd/system/reHDD.service
|
nano /lib/systemd/system/getty@.service
|
||||||
```
|
|
||||||
[Unit]
|
|
||||||
Description=Custom user interface on tty1
|
|
||||||
Conflicts=getty@tty1.service
|
|
||||||
Before=getty.target
|
|
||||||
|
|
||||||
|
and replace the [Service] with this:
|
||||||
|
```
|
||||||
[Service]
|
[Service]
|
||||||
WorkingDirectory=/root/reHDD
|
WorkingDirectory=/root/reHDD
|
||||||
ExecStart=/root/reHDD/reHDD
|
ExecStart=
|
||||||
|
ExecStart=-/root/reHDD/reHDD
|
||||||
StandardInput=tty
|
StandardInput=tty
|
||||||
StandardOutput=tty
|
StandardOutput=tty
|
||||||
Restart=always
|
Restart=always
|
||||||
|
@ -45,10 +43,10 @@ TTYVHangup=yes
|
||||||
TTYVTDisallocate=yes
|
TTYVTDisallocate=yes
|
||||||
SendSIGHUP=yes
|
SendSIGHUP=yes
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
systemctl daemon-reload
|
||||||
|
|
||||||
nano /etc/systemd/system/reHDDSettings.service
|
nano /etc/systemd/system/reHDDSettings.service
|
||||||
```
|
```
|
||||||
[Service]
|
[Service]
|
||||||
|
@ -77,7 +75,5 @@ Add your system drive in /root/reHDD/ignoreDrives.conf like:
|
||||||
``` /dev/sdX:e102f49d-5ed5-462b-94c5-ef66a4345671```
|
``` /dev/sdX:e102f49d-5ed5-462b-94c5-ef66a4345671```
|
||||||
Get your UUID via blkid /dev/sdX
|
Get your UUID via blkid /dev/sdX
|
||||||
|
|
||||||
systemctl enable reHDD.service
|
|
||||||
|
|
||||||
systemctl enable reHDDSettings.service
|
systemctl enable reHDDSettings.service
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue