mirror of
https://github.com/troglobit/finit.git
synced 2026-11-14 19:03:16 +00:00
service: add optional controlling TTY via tty: stanza
This commit is contained in:
1 parent
b0e672bc9a
commit
8e77ea68b2
6 files changed
+130
-2
No files matched your search
+2
-1
@@ -61,7 +61,8 @@ For more complex setups (LUKS, LVM, etc.):
|
||||
|
||||
```
|
||||
# Unlock LUKS volume
|
||||
run [S] name:cryptsetup /sbin/cryptsetup open /dev/sda2 cryptroot -- Unlocking encrypted root
|
||||
# The tty:@console stanza is required so cryptsetup can prompt for a passphrase
|
||||
run [S] name:cryptsetup tty:@console /sbin/cryptsetup open /dev/sda2 cryptroot -- Unlocking encrypted root
|
||||
|
||||
# Activate LVM
|
||||
run [S] name:lvm /sbin/lvm vgchange -ay -- Activating LVM volumes
|
||||
|
||||
Reference in new issue
Block a user