updated service

This commit is contained in:
Hendrik Schutter 2022-01-26 17:32:21 +01:00
parent 9b9806b5c2
commit 52f5597ba9
1 changed files with 7 additions and 11 deletions

View File

@ -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