File tree Expand file tree Collapse file tree 3 files changed +9
-0
lines changed
Expand file tree Collapse file tree 3 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 22Description=Forward Password Requests to Clevis
33Documentation=man:clevis-luks-unlockers(7)
44DefaultDependencies=no
5+ After=tcsd.service
6+ Wants=tcsd.service
57
68[Service]
79Type=simple
Original file line number Diff line number Diff line change 1+ [Unit]
2+ DefaultDependencies=no
3+ After=local-fs.target
4+ Requires=local-fs.target
Original file line number Diff line number Diff line change @@ -12,6 +12,8 @@ if systemd.found() and sd_reply_pass.found()
1212 data.set(' SYSTEMD_REPLY_PASS' , sd_reply_pass.path())
1313
1414 unitdir = systemd.get_pkgconfig_variable(' systemdsystemunitdir' )
15+ systemunitdir = systemd.get_pkgconfig_variable(' systemdsystemunitdir' )
16+ tcsdoverridedir = join_paths (systemunitdir, ' tcsd.service.d' )
1517
1618 configure_file (
1719 input : ' clevis-luks-askpass.service.in' ,
@@ -28,6 +30,7 @@ if systemd.found() and sd_reply_pass.found()
2830 )
2931
3032 install_data (' clevis-luks-askpass.path' , install_dir : unitdir)
33+ install_data (' clevis-tcsd.conf' , install_dir : tcsdoverridedir)
3134else
3235 warning (' Will not install systemd support due to missing dependencies!' )
3336endif
You can’t perform that action at this time.
0 commit comments