mkinitcpio-dropbear/dropbear.service
Toke Høiland-Jørgensen de26d19079 Start dropbear by systemd unit if systemd is enabled.
The hook scripts are not run in systemd mode, so a systemd unit is
required. This adds a custom unit that has the right ordering and
command line to start dropbear before the crypto setup step.

Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
2016-05-07 23:44:13 +02:00

11 lines
188 B
Desktop File

[Unit]
Description=Dropbear SSH Daemon
DefaultDependencies=no
Before=cryptsetup.target
[Service]
Type=simple
ExecStart=/usr/bin/dropbear -F -s -j -k
[Install]
WantedBy=cryptsetup.target