fix mount service

This commit is contained in:
Pascal Vizeli 2017-03-22 01:37:22 +01:00
parent 0335c6e6ff
commit 6e711e07a9
2 changed files with 5 additions and 5 deletions

View File

@ -2,7 +2,7 @@
Description=SSH authorized_keys state bind mount Description=SSH authorized_keys state bind mount
Requires=home-root-.ssh.mount mnt-boot.mount Requires=home-root-.ssh.mount mnt-boot.mount
After=home-root-.ssh.mount mnt-boot.mount After=home-root-.ssh.mount mnt-boot.mount
Before=etc-dropbear.mount dropbearkey.service Before=etc-dropbear.mount
[Service] [Service]
Type=simple Type=simple

View File

@ -1,11 +1,11 @@
[Unit] [Unit]
Description=SSH authorized_keys state bind mount Description=SSH authorized_keys state bind mount
Requires=mnt-conf.mount resin-conf-reset.service Requires=mnt-state.mount resin-state-reset.service
After=mnt-conf.mount resin-conf-reset.service After=mnt-state.mount resin-state-reset.service
Before=etc-dropbear.mount dropbearkey.service Before=etc-dropbear.mount
[Mount] [Mount]
What=/mnt/conf/root-overlay/home/root/.ssh What=/mnt/state/root-overlay/home/root/.ssh
Where=/home/root/.ssh Where=/home/root/.ssh
Type=none Type=none
Options=bind Options=bind