Tomáš Pecka | 04eb737 | 2022-06-07 08:03:04 +0200 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=Migrate CzechLight YANG models startup data |
| 3 | After=netopeer2-install-yang.service czechlight-install-yang.service cfg-restore-sysrepo.service cfg.mount |
| 4 | Requires=netopeer2-install-yang.service czechlight-install-yang.service cfg-restore-sysrepo.service cfg.mount |
| 5 | Before=netopeer2-setup.service netopeer2.service sysrepo-persistent-cfg.service |
| 6 | |
| 7 | [Service] |
| 8 | Type=oneshot |
| 9 | RemainAfterExit=yes |
| 10 | ExecStart=/bin/bash /usr/libexec/czechlight-cfg-fs/czechlight-migrate.sh |
| 11 | Group=sysrepo |
| 12 | |
| 13 | [Install] |
| 14 | WantedBy=multi-user.target |