commit | d595c953eca0d6965d85a95108b3cc8407240ea1 | [log] [tgz] |
---|---|---|
author | Jan Kundrát <jan.kundrat@cesnet.cz> | Wed Aug 22 19:17:31 2018 +0200 |
committer | Jan Kundrát <jan.kundrat@cesnet.cz> | Wed Aug 22 19:21:07 2018 +0200 |
tree | 5a67e16d525bd76d5238138b53635cf9202c0cbd | |
parent | 57035649dabf31f15cb392fcadc234ad9e8b79fd [diff] [blame] |
Depend on /cfg mount in units which access it Change-Id: I218b52d2adc8979bca9bde52e22d799165e5a6d1
diff --git a/package/czechlight-cfg-fs/netopeer2-keystored-persistent-keys.service b/package/czechlight-cfg-fs/netopeer2-keystored-persistent-keys.service index 177c247..76f620e 100644 --- a/package/czechlight-cfg-fs/netopeer2-keystored-persistent-keys.service +++ b/package/czechlight-cfg-fs/netopeer2-keystored-persistent-keys.service
@@ -1,7 +1,7 @@ [Unit] Description=Store SSH host keys into /cfg -After=netopeer2-keystored-init-keys.service -Requires=netopeer2-keystored-init-keys.service +After=netopeer2-keystored-init-keys.service cfg.mount +Requires=netopeer2-keystored-init-keys.service cfg.mount ConditionPathExists=!/cfg/etc/keystored/keys [Service]