]> git.somenet.org - root/pub/somesible.git/blob - roles/base/cryptsetup-helper/files/systemd-cryptsetup@DEVICE.service
[roles/base/cryptsetup-helper] setup cryptsetup helpers
[root/pub/somesible.git] / roles / base / cryptsetup-helper / files / systemd-cryptsetup@DEVICE.service
1 #
2 ################################################
3 ### Managed by someone's ansible provisioner ###
4 ################################################
5 # Part of: https://git.somenet.org/root/pub/somesible.git
6 # 2017-2025 by someone <someone@somenet.org>
7 #
8
9 # Automatically generated by systemd-cryptsetup-generator on 2025-02-15 and manually removed too much information.
10
11 [Unit]
12 Description=Cryptography Setup for %I
13 Documentation=man:crypttab(5) man:systemd-cryptsetup-generator(8) man:systemd-cryptsetup@.service(8)
14 SourcePath=/etc/crypttab
15
16 DefaultDependencies=no
17 After=cryptsetup-pre.target systemd-udevd-kernel.socket
18 Before=blockdev@dev-mapper-%i.target
19 Wants=blockdev@dev-mapper-%i.target
20 IgnoreOnIsolate=true
21 Conflicts=umount.target
22 Before=umount.target
23 Before=cryptsetup.target
24 #RequiresMountsFor=....key
25 #BindsTo=dev-disk-by....device
26 #After=dev-disk-by....device
27
28 [Service]
29 Type=oneshot
30 RemainAfterExit=yes
31 TimeoutSec=infinity
32 KeyringMode=shared
33 OOMScoreAdjust=500
34 ExecStart=/bin/true
35 ExecStop=/bin/true
36 #ExecStop=/lib/systemd/systemd-cryptsetup detach '..._crypt'
37 #ExecStart=/lib/systemd/systemd-cryptsetup attach '..._crypt' '/dev/disk/by-...' '....key' 'luks'